Re: [Haskell] Dependent Types in Haskell [was: Eliminating Array Bound Checking through Non-dependent] types
11 Aug
2004
11 Aug
'04
8:56 a.m.
Actually the data statement wasnt quite right: data Cons a b = Cons a b Would work, but now there is nothing keeping each element in the list as the same type, I guess we could add a class to constrain to a normal list,,, class List l x instance List Nil x instance List l x => List (Cons x l) x Erm, which is of course what I meant in the first place Keean.
8052
Age (days ago)
8052
Last active (days ago)
0 comments
1 participants
participants (1)
-
MR K P SCHUPKE