Hypergraph module (Re: instance Ord FiniteMap)
Johannes Waldmann
joe@isun.informatik.uni-leipzig.de
Thu, 30 May 2002 19:25:16 +0200 (MET DST)
(Re: Eray's code using FiniteMaps/Sets)
> Comments welcome,
I'd suggest
> show s = "mkSet " ++ show (setToList s)
> show fm = "listToFM " ++ show (fmToList fm)
That way you can easily paste the output of a program
into your code back again, and you can easily tell
the type of the `showed' object.
Best regards,
--
-- Johannes Waldmann ---- http://www.informatik.uni-leipzig.de/~joe/ --
-- joe@informatik.uni-leipzig.de -- phone/fax (+49) 341 9732 204/252 --