[Haskell-cafe] object oriented technique

Lyndon Maydwell maydwell at gmail.com
Tue Mar 29 20:24:30 CEST 2011


Should that be inner :: s?


> data Shape = forall s. (Shapeful s)
>           => Shape { sx, sy :: Double,
>                      inner  :: a }
>


More information about the Haskell-Cafe mailing list