1
0
forked from GitHub/gf-core

use oper in examples

This commit is contained in:
krasimir
2009-06-13 13:36:41 +00:00
parent 3441ca7697
commit 4df8a263eb
7 changed files with 40 additions and 40 deletions

View File

@@ -7,7 +7,7 @@ resource Precedence = open Prelude in {
param
Prec = p4 | p3 | p2 | p1 | p0 ;
lintype
oper
PrecTerm = Prec => Str ;
oper
@@ -75,7 +75,7 @@ mkInfixR : Str -> Prec -> PrecTerm -> PrecTerm -> PrecTerm =
-- alternative:
-- precedence as inherent feature
lintype TermWithPrec = {s : Str ; p : Prec} ;
oper TermWithPrec = {s : Str ; p : Prec} ;
oper
mkpPrec : Str -> Prec -> TermWithPrec =