Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).


The type of join for arrays is Array (Array a) -> Array a which should concatenate all the inner arrays together.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: