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

Safe HaskellNone
LanguageHaskell2010

Agda.Compiler.JS.Syntax

Documentation

data Exp Source #

Instances
Show Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

showsPrec :: Int -> Exp -> ShowS #

show :: Exp -> String #

showList :: [Exp] -> ShowS #

Globals Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Uses Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Exp -> Set [MemberId] Source #

Pretty Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: Nat -> Int -> Exp -> String Source #

newtype LocalId Source #

Constructors

LocalId Nat 
Instances
Eq LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

(==) :: LocalId -> LocalId -> Bool #

(/=) :: LocalId -> LocalId -> Bool #

Ord LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty LocalId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: Nat -> Int -> LocalId -> String Source #

newtype GlobalId Source #

Constructors

GlobalId [String] 
Instances
Eq GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Ord GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty GlobalId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: Nat -> Int -> GlobalId -> String Source #

newtype MemberId Source #

Constructors

MemberId String 
Instances
Eq MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Ord MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Show MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty MemberId Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: Nat -> Int -> MemberId -> String Source #

data Export Source #

Constructors

Export 

Fields

Instances
Show Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Uses Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Export -> Set [MemberId] Source #

data Module Source #

Constructors

Module 
Instances
Show Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Pretty Module Source # 
Instance details

Defined in Agda.Compiler.JS.Pretty

Methods

pretty :: Nat -> Int -> Module -> String Source #

class Uses a where Source #

Minimal complete definition

uses

Methods

uses :: a -> Set [MemberId] Source #

Instances
Uses Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Export -> Set [MemberId] Source #

Uses Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Exp -> Set [MemberId] Source #

Uses a => Uses [a] Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: [a] -> Set [MemberId] Source #

Uses a => Uses (Map k a) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

uses :: Map k a -> Set [MemberId] Source #

class Globals a where Source #

Minimal complete definition

globals

Methods

globals :: a -> Set GlobalId Source #

Instances
Globals Module Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Export Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals Exp Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Globals a => Globals [a] Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: [a] -> Set GlobalId Source #

Globals a => Globals (Map k a) Source # 
Instance details

Defined in Agda.Compiler.JS.Syntax

Methods

globals :: Map k a -> Set GlobalId Source #