Re: Newbie: Project: Missionary and Cannibal

16 Jan
2007
16 Jan
'07
2:54 p.m.
This is presumably your homework. See http://www.haskell.org/haskellwiki/Homework_help This kind of problem is often solved by using the List monad, so try looking at that first. Failing that, have a list of moves to make a sequence. Then make a list of all possible sequences. Then filter out the ones that break the rules. Whatever is left is the answer you want. Paul.
6702
Age (days ago)
6702
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Johnson