As far as I know, this is how you must do at present. It's a recorded issue though (https://github.com/elm-lang/elm-compiler/issues/1375) so it will hopefully be fixed in a future release.
-- 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.
