cryptol/tests/enum/BasicEnums.icry.stdout
2024-01-31 10:03:02 -08:00

27 lines
563 B
Plaintext

Loading module Cryptol
Loading module Cryptol
Loading module Main
enum E1: *
Constructors: A, B, C
Custom docs fo E1
Constructor of N
X : {n, a} (n >= 2) => [n] -> N n a
Note that we allow a starting |
c1 : E1 -> [8]
e1 : {a} M a
e2 : {n, a} (n - 2 >= 2, n >= 2, fin n) => N n a
Showing a specific instance of polymorphic result:
* Using 'Integer' for type argument 'a' of 'Main::N'
N
Showing a specific instance of polymorphic result:
* Using 'Integer' for type argument 'a' of 'Main::Y'
* Using '4' for type argument 'n' of 'Main::Y'
Y 0x3