It's official as far as I know, just poorly documented. I can't imagine why it would go away, it's incredibly useful. But nothing is 100% safe before 1.0!
A list of missing documentation would also be valuable. Not sure where the right place to put it would be though. On Tue, Sep 27, 2016 at 7:26 AM, 'Rupert Smith' via Elm Discuss < [email protected]> wrote: > As aluded to in Brian Marick's recent thread, there is an 'as' keyword > which can be used to pattern match on a union type in within a function > arguments, like this: > > animation ((DropsPerSecond raw) as dropsPerSecond) = … > > No mention of it in the syntax guide: http://elm-lang.org/docs/ > syntax#union-types or the elm language FAQ: http://faq.elm-community.org/ > > Is it safe to use it in the sense that it is an official part of the > language and is not something that is not documented as it may go away in > the future? > > ... I am begining to think it would be worth compiling a list of missing > documentation and trying to organize an effort to contribute the missing > information as pull request. > > -- > 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. > -- 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.
