mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-16 11:22:33 +03:00
32 lines
865 B
Plaintext
32 lines
865 B
Plaintext
Loading module Cryptol
|
|
Loading module Cryptol
|
|
Loading module test03
|
|
module test03
|
|
import Cryptol
|
|
/* Not recursive */
|
|
test03::test : {a} (fin a, a >= width a) => [a]
|
|
test03::test = \{a} (fin a, a >= width a) ->
|
|
test03::foo [a] <>
|
|
where
|
|
/* Not recursive */
|
|
test03::foo : {b} (Literal a b) => b
|
|
test03::foo = \{b} (Literal a b) -> Cryptol::demote a b <>
|
|
|
|
|
|
|
|
Loading module Cryptol
|
|
Loading module test03
|
|
module test03
|
|
import Cryptol
|
|
/* Not recursive */
|
|
test03::test : {a} (fin a, a >= width a) => [a]
|
|
test03::test = \{a} (fin a, a >= width a) ->
|
|
test03::foo
|
|
where
|
|
/* Not recursive */
|
|
test03::foo : [a]
|
|
test03::foo = Cryptol::demote a [a] <>
|
|
|
|
|
|
|