On Tue, Jan 12, 2010 at 11:26 PM, Daniel Fischer
<daniel.is.fisc...@web.de>wrote:

> Okay, 'as' is easy. But can you find a situation where 'qualified' or
> 'hiding' would be natural choices for an identifier? I'd love to see those
> in some code :)
>

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
                   }
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to