16 May
2002
16 May
'02
11:14 p.m.
G'day all. On Thu, May 16, 2002 at 07:24:10AM -0700, Simon Peyton-Jones wrote:
I'm slowly getting around to this. Design questions:
(A) I think it would be a good compromise to declare that operators like "+" are type *constructors* not type *variables*. So S+T would be a type. That's slightly inconsistent with value variables, but it's jolly useful. So only alphabetic things would be type variables.
While we're at it, could we have infix notation for type classes too? class (a * b) c | a b -> c where (*) :: a -> b -> c Cheers, Andrew Bromage
8874
Age (days ago)
8874
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrew J Bromage