Content deleted Content added
No edit summary |
LambdaTotoro (talk | contribs) working in release 0.9.9, switching arguments in Vect type |
||
Line 5:
| designer = Edwin Brady
| developer =
| latest_release_version = 0.9.
| latest_release_date = {{release_date|2013|
| latest_test_version =
| latest_test_date =
Line 44:
<source lang="haskell">
total
append : Vect
append Nil ys = ys
append (x :: xs) ys = x :: (append xs ys)
Line 56:
<source lang="haskell">
total
pairAdd : Num a => Vect
pairAdd Nil Nil = Nil
pairAdd (x::xs) (y::ys) = (x+y) :: pairAdd xs ys
|