Alexey Karakulov <ankarakulov@gmail.com> writes:I've come across this problem as well; the best solution I've seen so
> (Ord b) must be deduced from (Functor (Set b)) but it doesn't. I don't know
> whether it's my mistake somewhere or ghc problem.
far is the one taken by Ganesh in his rmonad library:
http://hackage.haskell.org/package/rmonad
--
Ivan Lazar Miljenovic
Ivan.Miljenovic@gmail.com
IvanMiljenovic.wordpress.com