[Haskell-cafe] Re: OO in Haskell

Keean Schupke k.schupke at imperial.ac.uk
Mon Nov 29 15:47:21 EST 2004


Benjamin Franksen wrote:

>I still have problems. They are probably due to a wrong definition of the 
>operator (#). Note that (#) is nowhere defined inside the HList sources, so I 
>assumed an inverse application aoperator. This is my program now:
>  
>
No, # is the record selection operator from the HList based records.

infixr 9 #
m # field = m .!. field

Keean.



More information about the Haskell-Cafe mailing list