We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
elmFloat : Parser Float elmFloat = oneOf [ symbol "." |. problem "floating point numbers must start with a digit, like 0.25" , float ]
should be
elmFloat : Parser Float elmFloat = oneOf [ symbol "." |> andThen (always <| problem "floating point numbers must start with a digit, like 0.25") , float ]
The (|.) operator keeps left and drops right and thus gives something of type Parser () in the first listing which clashes with Parser Float.
(|.)
Parser ()
Parser Float
The text was updated successfully, but these errors were encountered:
Parser.float
No branches or pull requests
should be
The
(|.)
operator keeps left and drops right and thus gives something of typeParser ()
in the first listing which clashes withParser Float
.The text was updated successfully, but these errors were encountered: