3 Dec
2003
3 Dec
'03
1:54 p.m.
rui yang wrote:
I want to print a function which itself have some functions as it's parameters and will return some functions as the results, and I want to print out the result, does anyone knows how to define the instance declaration of show class to this function type?
I don't know if it is possible to define a Show-instance for a function type, but you should not do so, because functions are usually "unshowable". If you have a function as a result you can only apply it to some further argument and (try to) show the result of that application. HTH Christian