Re: [Haskell-cafe] existential types

14 Feb
2008
14 Feb
'08
1:06 a.m.
From: Jake McArthur
On Feb 13, 2008 2:41 PM, Jake McArthur
wrote: Now we can have NumericLists like [1 :: Int, 5.7 :: Double, 4%5 :: Rational].
No, we can't =). Using
data NumericList = forall a . Num a => N [a] [etc.etc.etc.]
Oops again. Maybe I just shouldn't say anything to anybody on the Internet within an hour of waking up in the morning! ;) - Jake
6354
Age (days ago)
6354
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jake McArthur