[erlang-questions 61] Re: A sudoku solver in Erlang compared to Python
Sun Mar 27 23:36:57 CEST 2011
On Sun, Mar 27, 2011 at 11:21 PM, Ahmed Omar <> wrote:
> No problem, as said before u can also replace these lines :
> PeerSet = gb_sets:from_list(NonUniquePeers),
> PeersWithSelf = gb_sets:to_list(PeerSet),
> lists:delete(Square, PeersWithSelf).
> with just
> lists:delete(Square, lists:usort(NonUniquePeers)).
> (don't forget to check the rest of the thread too ;))
Yes, thanks everyone, all the suggestions are awesome, I'm going
through them one by one :-)
More information about the erlang-questions