mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-17 13:01:31 +03:00
b4fbec108e
The core AST now always prints fully-qualified names.
33 lines
925 B
Plaintext
33 lines
925 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} (fin b, b >= width a) => [b]
|
|
test03::foo = \{b} (fin b, b >= width a) ->
|
|
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 <> <> <>
|
|
|
|
|
|
|