Re: [Haskell-beginners] Antiderivative (indefinite integral)?

19 Jan
2013
19 Jan
'13
5:54 p.m.
On Saturday, 19. January 2013 22:38:09 Paul Higham wrote:
Looking at the antiderivative the same way we can write
s = [Int] -> [Int] s [] = [] s (f:fs) = scanl (+) f fs
But your function has a well definied starting point. This won't work anymore if the function is defined for all negative Ints, right? -- Martin
4504
Age (days ago)
4504
Last active (days ago)
0 comments
1 participants
participants (1)
-
Martin Drautzburg