[Haskell-cafe] Is using Data.Dynamic considered a no-go?

Lennart Augustsson lennart at augustsson.net
Thu Feb 12 13:04:58 EST 2009


They are not unsafe in the way unsafePerformIO is, but I regard them
as a last resort in certain situations.
Still, in those situations they are very useful.

  -- Lennart

2009/2/12 Peter Verswyvelen <bugfact at gmail.com>:
> Haskell seems to have pretty strong support for dynamic casting using
> Data.Typeable and Data.Dynamic.
> All kinds of funky dynamic programming seems to be possible with these
> "hacks".
> Is this considered as being as bad as - say - unsafePerformIO? What kind of
> evil is lurking here?
> Cheers,
> Peter
>
>
> _______________________________________________
> 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