application and lits

appl
This commit is contained in:
crumbtoo
2024-01-02 07:03:45 -07:00
parent 6130a91668
commit 0f04e2decf
2 changed files with 31 additions and 11 deletions

View File

@@ -12,6 +12,9 @@ module Rlp.Syntax
, VarId(..)
, Pat(..)
, Pat'
, Lit(..)
, Lit'
, Name
)
where
----------------------------------------------------------------------------------
@@ -90,6 +93,8 @@ data Lit b = IntL Int
| ListL [RlpExpr b]
deriving Show
type Lit' = Lit Name
-- instance HasLHS Alt Alt Pat Pat where
-- _lhs = lens
-- (\ (AltA p _) -> p)