[Haskell-cafe] Re: Haskell and OS X

Stefan Monnier monnier at iro.umontreal.ca
Fri Oct 21 13:02:56 EDT 2005

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

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

In that case I'm with you.  It's on my wish list as well.

>> 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.

Not really.  If I knew how/where to start I'd have done it already.
I suspect it'll require some refactoring.  Luckily this same refactoring
should hopefully allow handling the first example above as well.


More information about the Haskell-Cafe mailing list