
21 Jan
2008
21 Jan
'08
7:46 p.m.
Hello Jon, Monday, January 21, 2008, 9:28:09 PM, you wrote:
Ok. I have a my own class "class A a" and want to write function like this "f:: (A a)=>Integer->a". Can I do it?
But in general you are going to want something a bit more useful, which means that you have to have a path from Integer to a
i.e. you should have other functions that produce A from Integer and at the last end this means that class A should provide some way to do it -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com