At 2002-08-21 01:14, Dr Mark H Phillips wrote: >But what is the best way to represent this in Haskell? (Clearly >I can't do exactly this, because Haskell requires all list elements >to be of the same type.)
Create a new type that can allow either a pair or a list of pairs, and use a list of that. -- Ashley Yakeley, Seattle WA _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell