mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-18 21:41:52 +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".
22 lines
855 B
Plaintext
22 lines
855 B
Plaintext
Loading module Cryptol
|
|
Showing a specific instance of polymorphic result:
|
|
* Using 'Integer' for type argument 'rep' of 'Cryptol::number'
|
|
1
|
|
Showing a specific instance of polymorphic result:
|
|
* Using 'Integer' for type argument 'rep' of 'Cryptol::number'
|
|
[1, 2]
|
|
Showing a specific instance of polymorphic result:
|
|
* Using 'Integer' for type argument 'rep' of 'Cryptol::number'
|
|
* Using 'Integer' for type argument 'rep' of 'Cryptol::number'
|
|
{x = 1, y = 2}
|
|
[warning] at <interactive>:1:1--1:22:
|
|
Defaulting the type of '<interactive>::y' to [2]
|
|
Showing a specific instance of polymorphic result:
|
|
* Using 'Integer' for the type of '<interactive>::x'
|
|
1
|
|
[warning] at <interactive>:1:1--1:46:
|
|
Defaulting the type of '<interactive>::y' to [5]
|
|
Showing a specific instance of polymorphic result:
|
|
* Using 'Integer' for the type of '<interactive>::x'
|
|
10
|