@pzp1997 showed that the behavior of foldl1 is consistent with the foldl function of Haskell, but not that of Elm. Thats probably confusing to some people, and I could imagine someone getting hard-to-diagnose bugs from this. We cant just change the function and break existing code, but for now I added a note explaining the situation.
@pzp1997 showed that the behavior of foldl1 is consistent with the foldl function of Haskell, but not that of Elm. Thats probably confusing to some people, and I could imagine someone getting hard-to-diagnose bugs from this. We cant just change the function and break existing code, but for now I added a note explaining the situation.