[Haskell] Or-Patterns

2006-10-26 Thread Lajos Nagy
Whatever happened to the idea of Or-Patterns? http://www.haskell.org/pipermail/glasgow-haskell-users/2000-December/001535.html I find them more than occasionally useful :) Is there some theoretical difficulty or is it just that nobody had the time/will to implement it? Regards, Lajos Nagy

[Haskell] Optimistic Evaluation?

2006-08-27 Thread Lajos Nagy
question is: what happened to OE? Was it that it seemed like a good idea on paper but not in reality? Or was it too costly to maintain? Or it didn't deliver the goods it promised? I'm just curious. Regards, Lajos Nagy ___ Haskell mailing list 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

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

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