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 minor improvements to the docs #1995

Merged
merged 1 commit into from
Apr 11, 2023
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docs/tutorials/learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ even : Nat -> Bool;
even :=
let
even' : Nat -> Bool;
odd': Nat -> Bool;
odd' : Nat -> Bool;

even' zero := true;
even' (suc n) := odd' n;
Expand Down Expand Up @@ -725,7 +725,7 @@ type Maybe (A : Type) :=
For example, one could define the tail function as:

```juvix
tail' : {A : Type} -> List A -> Maybe A
tail' : {A : Type} -> List A -> Maybe (List A)
jonaprieto marked this conversation as resolved.
Show resolved Hide resolved
tail' (_ :: xs) := just xs;
tail' nil := nothing;
```
Expand Down
4 changes: 3 additions & 1 deletion docs/tutorials/vscode.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Juvix VSCode extension tutorial

To install the Juvix VSCode extension, click on the "Extensions" button
To install the [Juvix VSCode extension][vscode-marketplace], click on the "Extensions" button
in the left panel and search for the "Juvix" extension by Heliax.

Once you've installed the Juvix extension, you can open a Juvix file.
Expand Down Expand Up @@ -36,3 +36,5 @@ The functions of the buttons are as follows.
the executable run is displayed in a separate window.
- Html preview. Generates HTML documentation for the current file and
displays it in a separate window.

[vscode-marketplace]: https://marketplace.visualstudio.com/items?itemName=heliax.juvix-mode