CIS 554 Haskell Adventure
Fall 2014, David Matuszek

Purposes of this assignment

General idea of the assignment

I am providing a small adventure game, written in Prolog: sleepy.pl. Your job is to reimplement this game in Haskell.

You should have a "main" function, main :: IO (String). Input to the program should be in the form of one- or two-word commands, such as look or take flashlight.

You will probably find it easiest to use basically the same division into functions as the provided program, but this is not a requirement. In particular, the provided program contains predicates dump and retractall which you probably don't need.

Due date

Turn your assignment in to Canvas before 6am Wednesday, November 5 .