Agda-2.5.1.1: A dependently typed functional programming language and proof assistant

Safe HaskellNone
LanguageHaskell98

Agda.Compiler.JS.Case

Documentation

data Case Source #

Constructors

Case 

Fields

Instances

data Patt Source #

Constructors

VarPatt 
Tagged Tag [Patt] 

Instances

data Tag Source #

Constructors

Tag MemberId [MemberId] (Exp -> [Exp] -> Exp) 

Instances

Show Tag Source # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

lambda' :: Nat -> Nat -> Nat -> [Case] -> Exp Source #

match :: Nat -> Nat -> Nat -> [Case] -> MemberId -> Nat -> Exp Source #

visit :: [Case] -> Exp -> [Exp] -> Exp Source #