[Haskell-cafe] WASH Unspecified Action

2005-04-19 Thread John Goerzen
Hi, I've got one particular submit0 button in my WASH program that's causing trouble. Every time a person clicks on it, they get an error message saying "Unspecified Action". What does that mean and how would I fix it? The strange thing is that I have the exact same submit0 button pointing to t

Re: [Haskell-cafe] Trying to implement this code: flipping question

2005-04-19 Thread Malcolm Wallace
Jon Fairbairn <[EMAIL PROTECTED]> writes: > Which leads me to my own question: in current > implementations, if I have a data structure containing a > function (D f, say), and from it I generate anoter (D (flip > f)), and then later (D (flip (flip f))) and so on, do the > flips get reduced (to not

Re: [Haskell-cafe] Trying to implement this code: flipping question

2005-04-19 Thread Jon Fairbairn
On 2005-04-19 at 10:26+0400 Dmitry Vyal wrote: > I started to refactor my code as you suggested. I inserted update > function in the middle of parameter list of ins_in_tree function. Just > because this order seemed to be logical to me. > ins_in_tree :: (Ord a) => BinTree a -> (a->a) -> a -> BinTr

Re: [Haskell-cafe] Parsec question

2005-04-19 Thread Tomasz Zielonka
On Tue, Apr 19, 2005 at 09:47:22AM +0200, Ketil Malde wrote: > > Hi, > > I've started using Parsec for my parsing needs, and must say I'm very > happy with it. There is one thing that I'm struggling with > implementing though. > > Basically, I want to parse a file containing multiple records.

[Haskell-cafe] Parsec question

2005-04-19 Thread Ketil Malde
Hi, I've started using Parsec for my parsing needs, and must say I'm very happy with it. There is one thing that I'm struggling with implementing though. Basically, I want to parse a file containing multiple records. I already have a parser for a single record, and of course I could parse the