Re: Type families not as useful over functions

12 Feb
2009
12 Feb
'09
11:36 p.m.
John Ky wrote:
Is there a way to define type r to be all types except functions?
Perhaps the following article How to write an instance for not-a-function http://okmij.org/ftp/Haskell/typecast.html#is-function-type answers your question. It shows several complete examples.
5943
Age (days ago)
5943
Last active (days ago)
0 comments
1 participants
participants (1)
-
oleg@okmij.org