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

Safe HaskellNone

Agda.Compiler.JS.Syntax

Documentation

data Exp Source

Constructors

Self 
Local LocalId 
Global GlobalId 
Undefined 
String String 
Char Char 
Integer Integer 
Double Double 
Lambda Nat Exp 
Object (Map MemberId Exp) 
Apply Exp [Exp] 
Lookup Exp MemberId 
If Exp Exp Exp 
BinOp Exp String Exp 
PreOp String Exp 
Const String 

Instances

Show Exp 
Typeable Exp 
Globals Exp 
Uses Exp 
Pretty Exp 
EmbPrj Exp 

newtype LocalId Source

Constructors

LocalId Nat 

Instances

newtype GlobalId Source

Constructors

GlobalId [String] 

Instances

newtype MemberId Source

Constructors

MemberId String 

Instances

data Export Source

Constructors

Export 

Fields

expName :: [MemberId]
 
defn :: Exp
 

Instances

Show Export 
Typeable Export 
Globals Export 
Uses Export 

data Module Source

Constructors

Module 

Fields

modName :: GlobalId
 
exports :: [Export]
 

Instances

class Uses a whereSource

Methods

uses :: a -> Set [MemberId]Source

Instances

Uses Export 
Uses Exp 
Uses a => Uses [a] 
Uses a => Uses (Map k a) 

class Globals a whereSource

Methods

globals :: a -> Set GlobalIdSource

Instances