3 ms·
I really like haskell's "++" for list concatenation. Makes a lot of sense.
by sullyj3 12y ago
I really like haskell's "++" for list concatenation. Makes a lot of sense.
- willvarfar 12y agoAlthough the `++` is associated with increment from anyone coming to python from the C languages. Its tricky; if you want to do vectors, use numpy.
- dllthomas 12y agoHaskell also uses <> for combining any monoid, but of course in Python that was once not-equal... Maybe a dot? It's string concatenation in Perl, and function composition in Haskell. Interestingly, both of those are monoids...