cryptol/tests/regression/AES.icry.stdout
Adam C. Foltzer 284338c938 Add the mono-binds flag
When `:set mono-binds=on`, any local definitions lacking type
signatures will not be generalized (i.e., will be monomorphic). This
reduces what is in most cases unnecessary polymorphism that can give
rise to constraints that are difficult to solve. This also improves
the performance of the Cryptol interpreter by lifting many polymorphic
type applications out of the inner loops that are commonly defined as
bindings in `where` clauses.

The flag is on by default in the Cryptol REPL, and in most cases makes
it possible to leave out more type signatures in `where` clauses than
before. However, some programs really do rely on inferring polymorphic
types for local variables; in this case adding an explicit polymorphic
type signature to the local binding in question will make the program
typecheck.
2014-12-15 17:48:25 -08:00

33 lines
824 B
Plaintext

Loading module Cryptol
Loading module Cryptol
Loading module AES
[warning] at AES.cry:147:1--150:39:
Defaulting 4th type parameter
of expression (@@)
at AES.cry:147:33--147:35
to 4
[warning] at AES.cry:147:1--150:39:
Defaulting 3rd type parameter
of expression (@)
at AES.cry:147:58--147:59
to 4
[warning] at AES.cry:124:1--124:9:
Defaulting type parameter 'bits'
of literal or demoted expression
at AES.cry:127:26--127:29
to 3
[warning] at AES.cry:91:1--93:23:
Defaulting 2nd type parameter
of expression (>>>)
at AES.cry:91:28--91:31
to 2
[warning] at AES.cry:86:1--88:20:
Defaulting 2nd type parameter
of expression (<<<)
at AES.cry:86:25--86:28
to 2
True
True
True
True