mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-25 08:54:31 +03:00
parent
efc4443707
commit
5ff6005bed
@ -31,7 +31,7 @@ $unitick = \x7
|
||||
@id_next = [a-zA-Z0-9_'] | $unilower | $uniupper | $unidigit | $unitick
|
||||
|
||||
@id = @id_first @id_next*
|
||||
@op = ([\!\@\#\$\%\^\&\*\~\>\<\?\+\=\|\/] | $unisymbol)+
|
||||
@op = ([\!\@\#\$\%\^\&\*\~\>\<\?\+\=\|\/\\] | $unisymbol)+
|
||||
|
||||
@qual = (@id $white* :: $white*)+
|
||||
@qual_id = @qual @id
|
||||
|
3
tests/parser/infix-3.cry
Normal file
3
tests/parser/infix-3.cry
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
(/\) : Bool -> Bool -> Bool
|
||||
p /\ q = p && q
|
2
tests/parser/infix-3.icry
Normal file
2
tests/parser/infix-3.icry
Normal file
@ -0,0 +1,2 @@
|
||||
:l infix-3.cry
|
||||
:t (/\)
|
4
tests/parser/infix-3.icry.stdout
Normal file
4
tests/parser/infix-3.icry.stdout
Normal file
@ -0,0 +1,4 @@
|
||||
Loading module Cryptol
|
||||
Loading module Cryptol
|
||||
Loading module Main
|
||||
(/\) : Bool -> Bool -> Bool
|
Loading…
Reference in New Issue
Block a user