P.S. If this sounds like a good idea, I am happy to do the work.

On Thu, Sep 29, 2016 at 1:16 PM, Nick H <[email protected]> wrote:

> Hi everybody,
>
> Since 0.18 is going to involve some module juggling in core, I thought
> this would be a good time to bring this up.
>
> This is a follow-up to an elm-discuss thread from last month. Robin argued
> that the Color module should not be in elm-lang/core. I agreed and
> suggested that it be moved to evancz/graphics.
>
> For me the strongest indicator that Color doesn't belong in core is to
> look at who depends on it. Neither of the UI-related elm-lang packages
> (html, svg) use it. elm-css and elm-mdl both define their own color types.
>
> The only library that operates well with Color is evancz/graphics.
> Furthermore, it is the only one that can use the entire thing. The Gradient
> type is opaque, so it's impossible for anyone but evancz/graphics to use it.
>
> I hate to suggest "one more thing" to add to the release, but it feels
> like low-hanging fruit. I'm sure there is a reason Color stayed behind when
> Graphics was extracted. One way or the other, it should be easy to decide.
> And if it makes sense to move it, the lack of dependencies means the change
> would be easy to implement.
>
> Thanks for humoring me,
>
> ~Nick
>

-- 
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