infix decl
This commit is contained in:
@@ -9,6 +9,7 @@ module Rlp.Syntax
|
||||
, RlpExprF(..)
|
||||
, RlpExprF'
|
||||
, Decl(..)
|
||||
, Decl'
|
||||
, Assoc(..)
|
||||
, VarId(..)
|
||||
, Pat(..)
|
||||
@@ -50,6 +51,8 @@ data Decl e b = FunD VarId [Pat b] (e b)
|
||||
| InfixD Assoc Int Name
|
||||
deriving Show
|
||||
|
||||
type Decl' e = Decl e Name
|
||||
|
||||
data Assoc = InfixL
|
||||
| InfixR
|
||||
| Infix
|
||||
|
||||
Reference in New Issue
Block a user