Multisplit: Difference between revisions

Content deleted Content added
Hout (talk | contribs)
→‎{{header|JavaScript}}: ES6 (without importing Underscore, and generalising to allow for any set of delimiters)
Hout (talk | contribs)
Line 676:
Or as a fold:
 
<lang haskell>moduleimport MultisplitData.Maybe where(isNothing, fromJust)
 
import Data.Maybe (isNothing, fromJust)
import Data.List (find, isPrefixOf)