> 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 ;-) _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe