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
I'm trying to reduce an array right-to-left. In Haskell, I would use foldr for that, but that's missing in luafun. Alternatively, one could build it by applying foldl to a reversed array, but the reverse function is also missing. I think both functions should be present in a good functional library.
The text was updated successfully, but these errors were encountered:
I'm trying to reduce an array right-to-left. In Haskell, I would use
foldr
for that, but that's missing in luafun. Alternatively, one could build it by applyingfoldl
to a reversed array, but thereverse
function is also missing. I think both functions should be present in a good functional library.The text was updated successfully, but these errors were encountered: