Along with Janis' explanation, you could also say

type alias Model =
    { sendf : String -> Cmd Msg  -- (or any other concrete message type you
want)
    , otherstuff : String
    }

if you don't want Model to have a parameter.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to