[Haskell-cafe] Language simplicity

Ketil Malde ketil at malde.org
Wed Jan 13 05:39:13 EST 2010


Fraser Wilson <blancolioni at gmail.com> writes:

> module LordsOfMidnight.Character(Character) where
>
> data Character = C { name     :: String,
>                      location :: (Int,Int),
>                      facing   :: Direction,
>                      hour     :: Int,
>                      energy   :: Int,
>                      fear     :: Int,
>                      riders   :: Int,
>                      soldiers :: Int,
>                      hiding   :: Bool
>                    }

Daniel Fisher thinks again...

(With apologies for the rather obscure reference.)

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the Haskell-Cafe mailing list