Question: Should this compile

When I saw a statement on a post I thought "I didn't know you could do that". I downloaded it and it wouldn't compile. Here is the statement. G := (i,j) -> if is(i,even) and is(j,even) then 1; else 0; end if; When I tried to compile this in MAPLE 10 I got an "invalid arrow proceedure" error. Should this compile? Thanks
Please Wait...