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
I think it has to do with msg being the unit type.
type alias Model_ = { array : Array Int } type Msg_ = Blah main : Program () Model_ Msg_ main = Monitor.sandbox { init = { array = Array.fromList [ 5 ] } , view = \_ -> Html.button [ Html.Events.onClick Blah ] [ Html.text "produces an error in console" ] , update = \_ model -> model }
This code works fine, but if I replace Msg_ with () then I get the n is null exception.
Msg_
()
n is null
Originally posted by @MartinSStewart in #9 (comment)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think it has to do with msg being the unit type.
This code works fine, but if I replace
Msg_
with()
then I get then is null
exception.Originally posted by @MartinSStewart in #9 (comment)
The text was updated successfully, but these errors were encountered: