4 ms·
Maybe my Haskell is a bit rusty, but I don't get the definition of recr. What is 'f' in the following?: recr base combine (x:xs) = f x xs (recr base combin
by TuringTest 12y ago
Maybe my Haskell is a bit rusty, but I don't get the definition of recr. What is 'f' in the following?:
recr base combine (x:xs) = f x xs (recr base combine xs)
- hollerith 12y agoit is a typo. should be 'combine' (because, the way it is now, the presence of the 'combine' argument serves no purpose).