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

Add sections REPL window and Package dependencies #146

Merged
merged 1 commit into from
Jan 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions documentation/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,18 @@ Now try the same thing with the `mul` function.

Another useful command is triggered by selecting a word and pressing `ctrl-alt-d` (or "Language Idris: Docs for" from the command palette). You can try it on `add`, `mul` or `Nat` for instance.

## REPL
### REPL

## Proving
You can create a REPL window by pressing `ctrl-alt-enter`. Enter REPL commands at the top, just as if you were using the REPL command line interface.

### Idris command line options and library package dependencies

Sometimes you may have dependendencies on Idris packages, for instance Lightyear for parsing or Pruvioj for advanced theorem proving.
In Atom you can specify these dependencies using the project model, which simply means using Open Folder rather than Open File
from the File menu. Atom will look for a .ipkg file in the folder and load any dependencies listed. More details are described in
[Working with ipkg files](https://github.com/idris-hackers/atom-language-idris/blob/master/documentation/ipkg.md).

## Interactive proofs using Idris and Atom

We'll try to prove that the addition of natural numbers is associative for the
purpose of this tutorial.
Expand Down