Re: from gofer to haskell

1995-05-08 Thread Andreas Doering
Dear John, sorry there was a mistake in my last mail, and that's the reason, that it ends so apruptly. The class StateTran is class States a = StateTran t a where trans :: t - a - (StatesMap a) -- give the transformation arity :: t - a - Int -- where 0 means: arbitrary This is the

from gofer to haskell

1995-05-08 Thread Andreas Doering
Hi, I have some small algorithms implemented in gofer, using also a little class structure. One class uses two parameters, as it is legal in gofer. But not in haskell. The question, how I come out of this. First idea is: choose one parameter, and put the second one into member function

Please ignore last message [Re: from gofer to haskell]

1995-05-08 Thread John
Folks- Sorry about that last message; I forgot to remove the CC-to-list from the headers. -John

Re: from gofer to haskell

1995-05-08 Thread Andreas Doering
Dear John, never mind, I have found meanwhile a good (?) hierarchy that does the job. Perhaps I was too impatient about the learning curve. All the examples and also the difficulties with step and apply are overcome. Since all looks very clear, I hope that I am on the right track. On weekend, I

Re: from gofer to haskell

1995-05-08 Thread John
Hi Andreas- I'm sorry to have ignored you for so long. I've been trying to get a handout ready for a praktikum this afternoon (the functional programming one, actually) and it's taken me much longer than I thought...up to this weekend actually. I'll take a good long look at your code