21 Aug
2002
21 Aug
'02
7:16 a.m.
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