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 restrictions.

The problem is here, that the overloading depends now only on 
one parameter (which would in this case be no problem).

Second idea: some kind of tuple class, that does the projections.
But I wonder< how in this case the context is handled.

Any help is welcome, I confess, I am a haskell greeny.
Andreas


Reply via email to