Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upGradients in Color are poorly documented #663
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
process-bot
Jul 15, 2016
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!
Here is what to expect next, and if anyone wants to comment, keep these things in mind.
process-bot
commented
Jul 15, 2016
|
Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it! Here is what to expect next, and if anyone wants to comment, keep these things in mind. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
altaic
Jul 15, 2016
To make matters worse, #434 exemplifies the problem with the current implementation and should be reopened.
No docs and no type safety do not make for happy developers.
altaic
commented
Jul 15, 2016
|
To make matters worse, #434 exemplifies the problem with the current implementation and should be reopened. No docs and no type safety do not make for happy developers. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Aug 8, 2016
Contributor
@altaic, the code that leads to a runtime error in #434 now lives in https://github.com/evancz/elm-graphics, so why don't you open an issue there?
|
@altaic, the code that leads to a runtime error in #434 now lives in https://github.com/evancz/elm-graphics, so why don't you open an issue there? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
altaic
Aug 9, 2016
Refer to src/Color.elm in this repo-- the code and terrible (lack of) documentation is there. Evan's knee-jerk closing of #434 and redirection to elm/graphics does not make it any less so.
altaic
commented
Aug 9, 2016
|
Refer to src/Color.elm in this repo-- the code and terrible (lack of) documentation is there. Evan's knee-jerk closing of #434 and redirection to elm/graphics does not make it any less so. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Aug 9, 2016
Contributor
My comment was about the runtime error that you brought up in addition to the opening comment about documentation. That runtime error is not thrown from the pure Elm code (Color.elm) in core. The fact that more documentation inside core could help people running into this error less often is not something I disputed. Nor did I suggest you should open an issue at https://github.com/evancz/elm-graphics instead of this one here about the documentation.
|
My comment was about the runtime error that you brought up in addition to the opening comment about documentation. That runtime error is not thrown from the pure Elm code ( |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
altaic
Aug 9, 2016
I see; I don't use elm/graphics, so I didn't understand its relevance. Sorry for the confusion.
altaic
commented
Aug 9, 2016
|
I see; I don't use elm/graphics, so I didn't understand its relevance. Sorry for the confusion. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
added
the
docs
label
Aug 30, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
drathier
Mar 5, 2018
The links in the source documentation are dead.
http://elm-lang.org/examples/linear-gradient
http://elm-lang.org/examples/radial-gradient
drathier
commented
Mar 5, 2018
|
The links in the source documentation are dead. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
evancz
May 22, 2018
Member
This code is moving out of core. It probably will be revived in elm-graphics and can be considered over there.
|
This code is moving out of core. It probably will be revived in |
altaic commentedJul 15, 2016
In trying to use
Color.linear, it came to my attention that theColordocs don't explain its use, both of the example links are broken, and, more distressingly, the code itself doesn't shed any light:This is one place where it might be nice to use type aliases or perhaps records. Regardless, either
Gradientor the type of the functions that produceGradientshould be detailed.