You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String.words "" or String.lines "" actually return [""], not an empty list. It is not intuitive, but it is what it is 😄
elm repl
---- Elm 0.19.1 ----------------------------------------------------------------
Say :help for help and :exit to exit! More at <https://elm-lang.org/0.19.1/repl>
--------------------------------------------------------------------------------
> String.lines ""
[""] : List String
> String.words ""
[""] : List String
The text was updated successfully, but these errors were encountered:
String.words ""
orString.lines ""
actually return[""]
, not an empty list. It is not intuitive, but it is what it is 😄The text was updated successfully, but these errors were encountered: