Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
devit
· 5y ago · 0 comments
Of course they form a monoid with concatenation, but it's not the monoid that makes the monad (which should be pretty obvious since concatenation is not used in the monad operations for arrays).
Comments
[–]
lkitching
5y ago
The type of join for arrays is Array (Array a) -> Array a which should concatenate all the inner arrays together.