Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The type annotation is saying:
- Address Action -> (Bool -> Action) -> String -> Bool -> Html
- But I am inferring that the definition has this type:
- Address Bool -> a -> String -> Bool -> Html
- checkboxField : Address Action -> (Bool -> Action) -> String -> Bool -> Html`
- checkboxField address toAction name content =
- div
- [onClick address (not content)]
- [text "click here"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement