mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-19 14:01:51 +03:00
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".
10 lines
307 B
Plaintext
10 lines
307 B
Plaintext
Loading module Cryptol
|
|
Loading module Cryptol
|
|
Loading module Main
|
|
[warning] at ./check14.cry:5:73--5:74:
|
|
Defaulting type argument 'rep' of 'number' to [3]
|
|
Showing a specific instance of polymorphic result:
|
|
* Using 'Integer' for type argument 'rep' of 'Cryptol::number'
|
|
[[3, 2, 1, 0], [7, 6, 5, 4]]
|
|
True
|