-
Notifications
You must be signed in to change notification settings - Fork 126
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
1 parent
2f8ea90
commit fcfe0f8
Showing
4 changed files
with
41 additions
and
0 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,4 @@ | ||
:l issue1024a.cry | ||
:l issue1024b.cry | ||
|
||
someFunc`{[16]} |
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,27 @@ | ||
Loading module Cryptol | ||
Loading module Cryptol | ||
Loading module Main | ||
[warning] at issue1024a.cry:1:12--1:24 Unused name: f | ||
[warning] at issue1024a.cry:2:14--2:24 Unused name: f | ||
[warning] at issue1024a.cry:4:15--4:20 Unused name: i | ||
[warning] at issue1024a.cry:4:22--4:32 Unused name: f | ||
[warning] at issue1024a.cry:4:34--4:39 Unused name: g | ||
|
||
[error] at issue1024a.cry:1:6--1:11: | ||
Illegal kind assigned to type variable: f`767 | ||
Unexpected: # -> * | ||
where | ||
f`767 is signature variable 'f' at issue1024a.cry:1:12--1:24 | ||
[error] at issue1024a.cry:2:6--2:13: | ||
Illegal kind assigned to type variable: f`768 | ||
Unexpected: Prop | ||
where | ||
f`768 is signature variable 'f' at issue1024a.cry:2:14--2:24 | ||
[error] at issue1024a.cry:4:13--4:49: | ||
Illegal kind assigned to type variable: f`770 | ||
Unexpected: # -> * | ||
where | ||
f`770 is signature variable 'f' at issue1024a.cry:4:22--4:32 | ||
Loading module Cryptol | ||
Loading module Main | ||
0xffff |
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,5 @@ | ||
type Funny (f : # -> *) = Integer | ||
type Strange (f : Prop) = Integer | ||
|
||
funnyFunc : { i : #, f : # -> *, g : * } Integer | ||
funnyFunc = zero |
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,5 @@ | ||
|
||
type constraint PredSyn (a : *) (p:Prop) = (Zero a, Cmp a, p) | ||
|
||
someFunc : {a} (PredSyn a (Logic a)) => a | ||
someFunc = ~zero |