On Sat, Aug 27, 2011 at 15:31, michael rice <nowg...@yahoo.com> wrote:

> W/r/t the code below, would somebody please explain the sense of having a
> main function in a module that is not named Main.hs?
>

It's embedded test code; you can build a test program for the StateGame
monad by using the --main-is parameter to GHC, or leave that off and get a
library.

-- 
brandon s allbery                                      allber...@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to