[Haskell-cafe] Generic typeclass for converting between types
Magnus Therning
magnus at therning.org
Fri Jan 23 10:07:01 EST 2009
On Fri, Jan 23, 2009 at 3:01 PM, John Goerzen <jgoerzen at complete.org> wrote:
> Hi folks,
>
> I've been thinking today that I frequently need to convert data beween
> types:
>
> * Between various numeric types
>
> * Between various calendar types (both within the new calendar
> system, and between the old and new)
>
> * Marshalling data back and forth to a database in HDBC
>
> It's hard to remember all the functions to use to do these. I often
> resort to a chart I made for numeric conversions.
Not the type of response you want, but would you publish that chart
somewhere, please ;-)
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus@therning.org
http://therning.org/magnus identi.ca|twitter: magthe
More information about the Haskell-Cafe
mailing list