Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basics: Add documentation note to radians function. #1040

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ybakos
Copy link

@ybakos ybakos commented Aug 23, 2019

Change 'Convert' to 'Represent', as the function does not perform
conversion.

The documentation of the radians function has confused a few people - why have a function simply return its input? Per the discussion in elm/elm-lang.org#713, add a note to the documentation explaining the value of the radians function.

References elm/elm-lang.org#713.

Change 'Convert' to 'Represent', as the function does not perform
conversion.

References elm/elm-lang.org#713.
same as the input. Despite merely returning its input, the [`radians`](#radians)
function is still useful: it adds semantics to angle values. For example:

angle = radians 3.14
Copy link

@downloadpizza downloadpizza Aug 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there should be an "or" between the two somewhere as with the current wording it is implied that they are a single statement. (Yes, anyone who can think gets what it means but it would still be better with an "or")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants