(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/ --
-- [EMAIL PROTECTED] -- phone/fax (+49) 341 9732 204/252 --
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to