[Haskell-cafe] Function returning the type of its argument.

Antoine Latter aslatter at gmail.com
Fri Jul 29 21:17:16 CEST 2011


On Fri, Jul 29, 2011 at 12:54 PM, Grigory Sarnitskiy <sargrigory at ya.ru> wrote:
> It is not possible in Haskell, moreover it seems to be too alien to Haskell. Nevertheless, is there an extension which would allow to write a function that returns the type of its argument?
>

What sort of problem are you trying to solve?

For the most part, Haskell types are known statically at compile time.

> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list