
4 Mar
2009
4 Mar
'09
6:06 p.m.
One can always turn a strict data structure into a non-strict one by introducing lazyness explicitly like data Box a = Box a deriving(Eq,Ord,..) then having Set (Box Int) for a set of lazy ints. It might make sense to make the strict implementation the default and emulate the lazy one with boxes like above. It would give us both with very little code duplication. John -- John Meacham - ⑆repetae.net⑆john⑈