So you want to do some Elm but you're on the train, or without Internet somehow. How do you read all the docs for the packages you're using? Elmdoc. That's how.
(This will no doubt be easier when this is released properly, but for now...)
- Get you a Rust installed
- Ensure
$HOME/.cargo/bin
is on your$PATH
cargo install elmdoc
-- now you have anelmdoc
- Open a terminal in your Elm project (this will only work if you have downloaded packages with elm-package - i.e. there is a directory called
elm-stuff
in your project) elmdoc pair
-- This should print out the docs for theRandom.pair
function