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

millisecond docs imply a "milliseconds" variable exists #373

Closed
eeue56 opened this Issue Aug 27, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@eeue56
Contributor

eeue56 commented Aug 27, 2015

Had one of my students confused by this line

Units of time, making it easier to specify things like a half-second (500 * milliseconds) without remembering Elm’s underlying units of time.

in the docs for time due to the fact it says 500 * milliseconds and not 500 *millisecond or 500 milliseconds.

I think something along the lines of

Units of time, making it easier to specify a time without remembering Elm’s underlying implementation of time.
halfSecond = 500 * millisecond would create a variable with the value of 500ms, or half a second.

Might make it a little more clear?

@jvoigtlaender

This comment has been minimized.

Show comment
Hide comment
Contributor

jvoigtlaender commented Aug 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment