[Haskell-cafe] Re: Haskell and OS X

Joel Reymont joelr1 at gmail.com
Fri Oct 21 12:16:27 EDT 2005


On Oct 21, 2005, at 4:22 PM, Stefan Monnier wrote:

> You mean you'd like
>
>  data TableInfo = TableInfo {
>                             avgPot :: Double,

No, I would actually like to offset avgPot 4 spaces from TableInfo.

> which is much better.  I'd personally prefer
>
>       case findprop attr props of
>         Just x -> x
>
> but I haven't coded it yet.

Yes, that's what I would like to have too. I'm no stranger to Lisp  
but haven't spent the time to figure out how to do the two cases  
above yet. Maybe you could point me in the right direction.

     Thanks, Joel

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list