[Haskell-cafe] variable definition according to input

Tobias Brandt tob.brandt at googlemail.com
Sun Sep 5 15:10:01 EDT 2010


On 5 September 2010 21:04, Maria Merit <mariam627426 at gmail.com> wrote:
> Is it possible to define variable names according to input data? For
> instance:

You can do arbitrary IO in TemplateHaskell. So, theoretically yes, you
can define variables depending on input. But it has to be input during
compilation/interpretation.


More information about the Haskell-Cafe mailing list