We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0edc37a commit 4b5dd68Copy full SHA for 4b5dd68
README.md
@@ -618,7 +618,7 @@ Right way (and consistent: use `eitherReader` to define our own `ReadM` that pro
618
```purescript
619
multiString :: Pattern -> ReadM (Array String)
620
multiString splitPattern = eitherReader \s ->
621
- let strArray = filter String.null $ split splitPattern s
+ let strArray = filter (not <<< String.null) $ split splitPattern s
622
in
623
if Array.null strArray
624
then Left "got empty string as input"
0 commit comments