<br><br><div class="gmail_quote">On Tue, Jan 12, 2010 at 11:26 PM, Daniel Fischer <span dir="ltr"><<a href="mailto:daniel.is.fischer@web.de">daniel.is.fischer@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Okay, 'as' is easy. But can you find a situation where 'qualified' or<br>
'hiding' would be natural choices for an identifier? I'd love to see those<br>
in some code :)<br></blockquote><div><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">module LordsOfMidnight.Character(Character) where</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">data Character = C { name :: String,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> location :: (Int,Int),</span><font style="font-family: courier new,monospace;" face="courier new,monospace"><br>
facing :: Direction,<br> hour :: Int,<br></font><span style="font-family: courier new,monospace;"> energy :: Int,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> fear :: </span><font style="font-family: courier new,monospace;" face="courier new,monospace">Int,<br> riders :: Int,<br> soldiers :: Int,<br>
hiding :: Bool<br> }<br></font><br style="font-family: courier new,monospace;">
</div></div><br>