News for hackers. Stuff that matters.
Re:2048 in Erlang by Luc on Monday June 09, 2014 @04:31PM (#7870320)
Perhaps you meant something like 'within_bounds({X,Y}) when X > 0, X =< ?SIZE, Y > 0, Y =< ?SIZE -> true.' ?

As written the function would return only the value of (Y =< ?SIZE).

Re:2048 in Erlang by mononcqc on Tuesday June 10, 2014 @03:23PM (#7874735)
I forgot to replace one of the commas with an 'andalso'. There's no reason to have it as a guard. It's too late to edit now, though.