You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for scanl was probably taken straight from Data.List but is a little confusing in the context of Text (I also am not very clear on whether scans make much sense but that is above my pay grade):
--| /O(n)/ 'scanl' is similar to 'foldl', but returns a list of-- successive reduced values from the left.-- Performs replacement on invalid scalar values.---- > scanl f z [x1, x2, ...] == [z, z `f` x1, (z `f` x1) `f` x2, ...]---- Note that---- > last (scanl f z xs) == foldl f z xs.
The text was updated successfully, but these errors were encountered:
Boarders
changed the title
Scan documentation is poor.
Scan documentation is poor
Aug 12, 2021
The documentation for
scanl
was probably taken straight fromData.List
but is a little confusing in the context ofText
(I also am not very clear on whether scans make much sense but that is above my pay grade):The text was updated successfully, but these errors were encountered: