[Haskell-cafe] Dealing with heterogeneously-typed lists?

Bryan O'Sullivan bos at serpentine.com
Tue Aug 12 21:07:57 EDT 2008


2008/8/12 Leif Warner <abimelech at gmail.com>:

> I know in a language like Java or C++ I might do some sort of run-time type
> identification, which would detect the type of each element in the list, and
> output it appropriately.

I think I've missed a step. Why do you want to break the fields of an
Invoice out into a list in the first place?


More information about the Haskell-Cafe mailing list