-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I think we've finally cracked the nut on this strictness bug. Fixes #640
- Loading branch information
1 parent
31ab387
commit 69ad34b
Showing
3 changed files
with
22 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,11 @@ | ||
f : [1] -> [2] | ||
f x = out | ||
where out = x # [out@0] | ||
|
||
g : [1] -> [2] | ||
g x = out | ||
where out = x # (take out) | ||
|
||
h : [1] [8] -> [2] [8] | ||
h x = out | ||
where out = x # take out |
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 @@ | ||
:load issue640.cry | ||
|
||
f zero | ||
g zero | ||
h 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,6 @@ | ||
Loading module Cryptol | ||
Loading module Cryptol | ||
Loading module Main | ||
0x0 | ||
0x0 | ||
[0x00, 0x00] |