How to make Data.Set.Set a Functor

2005-10-11 Thread Lajos Nagy
f s = Data.Set.map f s In the definition for method `fmap' In the instance declaration for `Functor Data.Set.Set' On the other hand, it seems intuitively natural to make Set an instance of fmap. Any ideas on how to do it? Thanks and Regards, Lajos Nagy

Dynamic Map

2005-10-16 Thread Lajos Nagy
then ER is restored. (And those two operations is all I need.) I tried several ways of implementing it but those monadic types just kept cropping up in the map interface. I'd appreciate any ideas or pointers. Regards, Lajos Nagy ___ Glasgow-haskell

Optimization Destructive Updates

2006-04-14 Thread Lajos Nagy
(destructive vs. non-destructive) for functions which also seems an interesting research area. Regards, -- Lajos Nagy Computer Science Ph.D. Student, Florida Institute of Technology ___ Glasgow-haskell-users mailing list Glasgow-haskell-users