[Haskell-cafe] Language simplicity
Fraser Wilson
blancolioni at gmail.com
Wed Jan 13 03:43:21 EST 2010
On Tue, Jan 12, 2010 at 11:26 PM, Daniel Fischer
<daniel.is.fischer at 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
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100113/9992c6fb/attachment.html
More information about the Haskell-Cafe
mailing list