mirror of
https://github.com/GaloisInc/cryptol.git
synced 2025-01-03 13:29:13 +03:00
f609b36225
The name "demote" is only meaningful to those who already know what the Cryptol primitive does. Also, due to recent changes in the error and warning messages, the name "demote" is showing up much more often in REPL output. For example: Defaulting type argument 'rep' of 'demote' to [2] Showing a specific instance of polymorphic result: * Using 'Integer' for type argument 'rep' of 'Cryptol::demote' These messages will hopefully be made less confusing to non-experts if the name "demote" is replaced with "number".
15 lines
538 B
Plaintext
15 lines
538 B
Plaintext
Loading module Cryptol
|
|
Loading module Cryptol
|
|
Loading module Main
|
|
[warning] at ./check06.cry:5:10--5:70:
|
|
Defaulting type argument 'ix' of '(@@)' to 2
|
|
[warning] at ./check06.cry:5:66--5:67:
|
|
Defaulting type argument 'rep' of 'number' to [2]
|
|
[warning] at <interactive>:1:1--1:24:
|
|
Defaulting type argument 'ix' of '(@@)' to 4
|
|
Showing a specific instance of polymorphic result:
|
|
* Using 'Integer' for 1st type argument of 'Main::onesytwosy'
|
|
[[1, 2], [2, 1], [1, 2], [2, 1], [1, 2], [2, 1], [1, 2], [2, 1],
|
|
[1, 2], [2, 1], [1, 2]]
|
|
True
|