--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
let RegisterControl control = match control with | :? Button as button -> button.Text <- "Registered." | :? CheckBox as checkbox -> checkbox.Text <- "Registered." | _ -> ()
Can you talk more about the specific problem you are trying to solve? I'm not convinced that what you're trying to do in Elm. Other than verbosity, what can't explicit parameters solve?
Whatever gets integrated, it will definitely be based on clear use cases and examples.
class Val a where
value :: a -> Value
instance Val Integer where
value = fromString . show
...
instance Val a => Val (Maybe a) where
value (Just a) = value a
value Nothing = ""
--
You received this message because you are subscribed to a topic in the Google Groups "Elm Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elm-discuss/y61Bu0HDmIs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elm-discuss...@googlegroups.com.