-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
type Nat 0 end | ||
node zero -- value!: Nat end | ||
node add1 prev: Nat -- value!: Nat end | ||
|
||
type Trivial 0 end | ||
node sole -- value!: Trivial end | ||
|
||
claim x Nat end | ||
define x sole end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[unifyTypes] I fail to unify types -- left: Trivial, right: Nat | ||
|
||
[Define.execute] I fail to define word: x | ||
|
||
5 |type Trivial 0 end | ||
6 |node sole -- value!: Trivial end | ||
7 | | ||
8 |claim x Nat end | ||
9 |define x sole end | ||
10 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters