-
Notifications
You must be signed in to change notification settings - Fork 128
Closed
Labels
UXIssues related to the user experience (e.g., improved error messages)Issues related to the user experience (e.g., improved error messages)typecheckerIssues related to type-checking Cryptol code.Issues related to type-checking Cryptol code.
Milestone
Description
Here's a bit of code I wrote:
// zeros entries above main diagonal, doubles entries below and leaves main alone
doubleOver : {m, n, a} (fin a) => [m][n][a] -> [m][n][a]
doubleOver xss = [[f x | f <- fs | x <- xs] | fs <- fss | xs <- xss]
where
t0 x = 0
t1 x = x
t2 x = x << 1
fs0 = [t1] # [t0 | _ <- zero]
fss = [fs0] # [[t2] # fs | fs <- fss]
that works fine for me with Cryptol version 2.5.0 (901a1d1), but chokes for @weaversa who has a more recent version.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
UXIssues related to the user experience (e.g., improved error messages)Issues related to the user experience (e.g., improved error messages)typecheckerIssues related to type-checking Cryptol code.Issues related to type-checking Cryptol code.