[Haskell-cafe] Refactoring status

Peter Verswyvelen bf3 at telenet.be
Fri Jan 4 14:52:37 EST 2008


> It's already possible to write
> asTypeOf ::
>     a   {- ^ the input value to be passed through -}
>  -> a   {- ^ the value is ignored, but the type is unified with the first
parameter -}
>  -> a   {- ^ the value of the first parameter -}

Nice. Still using "first parameter" though ;-) 





More information about the Haskell-Cafe mailing list