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
{-| A function that can never be called. Seems extremely pointless, but it*can* come in handy. Imagine you have some HTML that should never produce anymessages. And say you want to use it in some other HTML that *does* producemessages. You could say: import Html exposing (..) embedHtml : Html Never -> Html msg embedHtml staticStuff = div [] [ text "hello" , Html.map never staticStuff ]So the `never` function is basically telling the type system, make sure no oneever calls me!-}never:Never->anever (JustOneMore nvr)=
never nvr
Parser does not understand (JustOneMore nvr) in function declaration.
The text was updated successfully, but these errors were encountered:
Parser cannot destructure function arguments.
Basics.never case:
Parser does not understand
(JustOneMore nvr)
in function declaration.The text was updated successfully, but these errors were encountered: