Skip to content

Instantly share code, notes, and snippets.

@mark-d-holmberg
Created September 7, 2011 21:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mark-d-holmberg/1201748 to your computer and use it in GitHub Desktop.
Save mark-d-holmberg/1201748 to your computer and use it in GitHub Desktop.
Man, Wolf, Goat, Cabbage Tests
Mark Holmberg, Dixie State College of Utah
CS 3520, Programming Languages
7 Sept. 2011
Some help with the Man, the Wolf, the Goat, and the Cabbage.
Since the solution is given on the site, but not how to invoke a solution
I searched through the slides to come up with this to actually test it
length(X,7), solution([w,w,w,w],X).
See the Gist Here:
https://gist.github.com/1201737
Best of Luck.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment