Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class ToHaskell a where Source #
Instances
type Identifier = String Source #
CaseBlock | |
|
data FunctionApplication Source #
Instances
Eq FunctionApplication Source # | |
Defined in Axel.AST (==) :: FunctionApplication -> FunctionApplication -> Bool # (/=) :: FunctionApplication -> FunctionApplication -> Bool # | |
Show FunctionApplication Source # | |
Defined in Axel.AST showsPrec :: Int -> FunctionApplication -> ShowS # show :: FunctionApplication -> String # showList :: [FunctionApplication] -> ShowS # | |
ToHaskell FunctionApplication Source # | |
HasFunction FunctionApplication Expression Source # | |
Defined in Axel.AST | |
HasConstructor NewtypeDeclaration FunctionApplication Source # | |
Defined in Axel.AST | |
HasConstructors DataDeclaration [FunctionApplication] Source # | |
Defined in Axel.AST | |
HasArguments FunctionApplication [Expression] Source # | |
Defined in Axel.AST |
IfBlock | |
|
TopLevel | |
|
data TypeDefinition Source #
Instances
Eq TypeDefinition Source # | |
Defined in Axel.AST (==) :: TypeDefinition -> TypeDefinition -> Bool # (/=) :: TypeDefinition -> TypeDefinition -> Bool # | |
Show TypeDefinition Source # | |
Defined in Axel.AST showsPrec :: Int -> TypeDefinition -> ShowS # show :: TypeDefinition -> String # showList :: [TypeDefinition] -> ShowS # | |
ToHaskell TypeDefinition Source # | |
HasTypeDefinition NewtypeDeclaration TypeDefinition Source # | |
Defined in Axel.AST | |
HasTypeDefinition DataDeclaration TypeDefinition Source # | |
Defined in Axel.AST |
data DataDeclaration Source #
Instances
Eq DataDeclaration Source # | |
Defined in Axel.AST (==) :: DataDeclaration -> DataDeclaration -> Bool # (/=) :: DataDeclaration -> DataDeclaration -> Bool # | |
Show DataDeclaration Source # | |
Defined in Axel.AST showsPrec :: Int -> DataDeclaration -> ShowS # show :: DataDeclaration -> String # showList :: [DataDeclaration] -> ShowS # | |
ToHaskell DataDeclaration Source # | |
HasTypeDefinition DataDeclaration TypeDefinition Source # | |
Defined in Axel.AST | |
HasConstructors DataDeclaration [FunctionApplication] Source # | |
Defined in Axel.AST |
data NewtypeDeclaration Source #
Instances
Eq NewtypeDeclaration Source # | |
Defined in Axel.AST (==) :: NewtypeDeclaration -> NewtypeDeclaration -> Bool # (/=) :: NewtypeDeclaration -> NewtypeDeclaration -> Bool # | |
Show NewtypeDeclaration Source # | |
Defined in Axel.AST showsPrec :: Int -> NewtypeDeclaration -> ShowS # show :: NewtypeDeclaration -> String # showList :: [NewtypeDeclaration] -> ShowS # | |
ToHaskell NewtypeDeclaration Source # | |
HasTypeDefinition NewtypeDeclaration TypeDefinition Source # | |
Defined in Axel.AST | |
HasConstructor NewtypeDeclaration FunctionApplication Source # | |
Defined in Axel.AST |
data FunctionDefinition Source #
FunctionDefinition | |
|
Instances
Eq FunctionDefinition Source # | |
Defined in Axel.AST (==) :: FunctionDefinition -> FunctionDefinition -> Bool # (/=) :: FunctionDefinition -> FunctionDefinition -> Bool # | |
Show FunctionDefinition Source # | |
Defined in Axel.AST showsPrec :: Int -> FunctionDefinition -> ShowS # show :: FunctionDefinition -> String # showList :: [FunctionDefinition] -> ShowS # | |
ToHaskell FunctionDefinition Source # | |
HasName FunctionDefinition Identifier Source # | |
Defined in Axel.AST | |
HasBody FunctionDefinition Expression Source # | |
Defined in Axel.AST | |
HasFunctionDefinition MacroDefinition FunctionDefinition Source # | |
Defined in Axel.AST | |
HasArguments FunctionDefinition [Expression] Source # | |
Defined in Axel.AST | |
HasWhereBindings FunctionDefinition [FunctionDefinition] Source # | |
Defined in Axel.AST | |
HasDefinitions TypeclassInstance [FunctionDefinition] Source # | |
Defined in Axel.AST |
data ImportSpecification Source #
Instances
Eq ImportSpecification Source # | |
Defined in Axel.AST (==) :: ImportSpecification -> ImportSpecification -> Bool # (/=) :: ImportSpecification -> ImportSpecification -> Bool # | |
Show ImportSpecification Source # | |
Defined in Axel.AST showsPrec :: Int -> ImportSpecification -> ShowS # show :: ImportSpecification -> String # showList :: [ImportSpecification] -> ShowS # | |
ToHaskell ImportSpecification Source # | |
HasImports RestrictedImport ImportSpecification Source # | |
Defined in Axel.AST | |
HasImports QualifiedImport ImportSpecification Source # | |
Defined in Axel.AST |
Lambda | |
|
LetBlock | |
|
newtype MacroDefinition Source #
Instances
Eq MacroDefinition Source # | |
Defined in Axel.AST (==) :: MacroDefinition -> MacroDefinition -> Bool # (/=) :: MacroDefinition -> MacroDefinition -> Bool # | |
Show MacroDefinition Source # | |
Defined in Axel.AST showsPrec :: Int -> MacroDefinition -> ShowS # show :: MacroDefinition -> String # showList :: [MacroDefinition] -> ShowS # | |
ToHaskell MacroDefinition Source # | |
HasFunctionDefinition MacroDefinition FunctionDefinition Source # | |
Defined in Axel.AST |
data MacroImport Source #
Instances
Eq MacroImport Source # | |
Defined in Axel.AST (==) :: MacroImport -> MacroImport -> Bool # (/=) :: MacroImport -> MacroImport -> Bool # | |
Show MacroImport Source # | |
Defined in Axel.AST showsPrec :: Int -> MacroImport -> ShowS # show :: MacroImport -> String # showList :: [MacroImport] -> ShowS # | |
ToHaskell MacroImport Source # | |
HasModuleName MacroImport Identifier Source # | |
Defined in Axel.AST | |
HasImports MacroImport [Identifier] Source # | |
Defined in Axel.AST imports :: Lens' MacroImport [Identifier] Source # |
data QualifiedImport Source #
Instances
Eq QualifiedImport Source # | |
Defined in Axel.AST (==) :: QualifiedImport -> QualifiedImport -> Bool # (/=) :: QualifiedImport -> QualifiedImport -> Bool # | |
Show QualifiedImport Source # | |
Defined in Axel.AST showsPrec :: Int -> QualifiedImport -> ShowS # show :: QualifiedImport -> String # showList :: [QualifiedImport] -> ShowS # | |
ToHaskell QualifiedImport Source # | |
HasModuleName QualifiedImport Identifier Source # | |
Defined in Axel.AST | |
HasImports QualifiedImport ImportSpecification Source # | |
Defined in Axel.AST | |
HasAlias QualifiedImport Identifier Source # | |
Defined in Axel.AST |
newtype RecordDefinition Source #
Instances
Eq RecordDefinition Source # | |
Defined in Axel.AST (==) :: RecordDefinition -> RecordDefinition -> Bool # (/=) :: RecordDefinition -> RecordDefinition -> Bool # | |
Show RecordDefinition Source # | |
Defined in Axel.AST showsPrec :: Int -> RecordDefinition -> ShowS # show :: RecordDefinition -> String # showList :: [RecordDefinition] -> ShowS # | |
ToHaskell RecordDefinition Source # | |
HasBindings RecordDefinition [(Identifier, Expression)] Source # | |
Defined in Axel.AST bindings :: Lens' RecordDefinition [(Identifier, Expression)] Source # |
newtype RecordType Source #
RecordType | |
|
Instances
Eq RecordType Source # | |
Defined in Axel.AST (==) :: RecordType -> RecordType -> Bool # (/=) :: RecordType -> RecordType -> Bool # | |
Show RecordType Source # | |
Defined in Axel.AST showsPrec :: Int -> RecordType -> ShowS # show :: RecordType -> String # showList :: [RecordType] -> ShowS # | |
ToHaskell RecordType Source # | |
HasFields RecordType [(Identifier, Expression)] Source # | |
Defined in Axel.AST fields :: Lens' RecordType [(Identifier, Expression)] Source # |
data RestrictedImport Source #
Instances
Eq RestrictedImport Source # | |
Defined in Axel.AST (==) :: RestrictedImport -> RestrictedImport -> Bool # (/=) :: RestrictedImport -> RestrictedImport -> Bool # | |
Show RestrictedImport Source # | |
Defined in Axel.AST showsPrec :: Int -> RestrictedImport -> ShowS # show :: RestrictedImport -> String # showList :: [RestrictedImport] -> ShowS # | |
ToHaskell RestrictedImport Source # | |
HasModuleName RestrictedImport Identifier Source # | |
Defined in Axel.AST | |
HasImports RestrictedImport ImportSpecification Source # | |
Defined in Axel.AST |
data TypeclassDefinition Source #
Instances
Eq TypeclassDefinition Source # | |
Defined in Axel.AST (==) :: TypeclassDefinition -> TypeclassDefinition -> Bool # (/=) :: TypeclassDefinition -> TypeclassDefinition -> Bool # | |
Show TypeclassDefinition Source # | |
Defined in Axel.AST showsPrec :: Int -> TypeclassDefinition -> ShowS # show :: TypeclassDefinition -> String # showList :: [TypeclassDefinition] -> ShowS # | |
ToHaskell TypeclassDefinition Source # | |
HasName TypeclassDefinition Expression Source # | |
Defined in Axel.AST | |
HasSignatures TypeclassDefinition [TypeSignature] Source # | |
Defined in Axel.AST | |
HasConstraints TypeclassDefinition [Expression] Source # | |
Defined in Axel.AST |
data TypeclassInstance Source #
Instances
Eq TypeclassInstance Source # | |
Defined in Axel.AST (==) :: TypeclassInstance -> TypeclassInstance -> Bool # (/=) :: TypeclassInstance -> TypeclassInstance -> Bool # | |
Show TypeclassInstance Source # | |
Defined in Axel.AST showsPrec :: Int -> TypeclassInstance -> ShowS # show :: TypeclassInstance -> String # showList :: [TypeclassInstance] -> ShowS # | |
ToHaskell TypeclassInstance Source # | |
HasInstanceName TypeclassInstance Expression Source # | |
Defined in Axel.AST | |
HasDefinitions TypeclassInstance [FunctionDefinition] Source # | |
Defined in Axel.AST |
data TypeSignature Source #
Instances
Eq TypeSignature Source # | |
Defined in Axel.AST (==) :: TypeSignature -> TypeSignature -> Bool # (/=) :: TypeSignature -> TypeSignature -> Bool # | |
Show TypeSignature Source # | |
Defined in Axel.AST showsPrec :: Int -> TypeSignature -> ShowS # show :: TypeSignature -> String # showList :: [TypeSignature] -> ShowS # | |
ToHaskell TypeSignature Source # | |
HasTypeDefinition TypeSignature Expression Source # | |
Defined in Axel.AST | |
HasName TypeSignature Identifier Source # | |
Defined in Axel.AST | |
HasSignatures TypeclassDefinition [TypeSignature] Source # | |
Defined in Axel.AST |
data TypeSynonym Source #
Instances
Eq TypeSynonym Source # | |
Defined in Axel.AST (==) :: TypeSynonym -> TypeSynonym -> Bool # (/=) :: TypeSynonym -> TypeSynonym -> Bool # | |
Show TypeSynonym Source # | |
Defined in Axel.AST showsPrec :: Int -> TypeSynonym -> ShowS # show :: TypeSynonym -> String # showList :: [TypeSynonym] -> ShowS # | |
ToHaskell TypeSynonym Source # | |
HasAlias TypeSynonym Expression Source # | |
Defined in Axel.AST | |
HasDefinition TypeSynonym Expression Source # | |
Defined in Axel.AST |
data Expression Source #
Instances
class HasMatches s a | s -> a where Source #
Instances
HasMatches CaseBlock [(Expression, Expression)] Source # | |
Defined in Axel.AST matches :: Lens' CaseBlock [(Expression, Expression)] Source # |
class HasConstructors s a | s -> a where Source #
constructors :: Lens' s a Source #
Instances
HasConstructors DataDeclaration [FunctionApplication] Source # | |
Defined in Axel.AST |
class HasTypeDefinition s a | s -> a where Source #
typeDefinition :: Lens' s a Source #
Instances
HasTypeDefinition TypeSignature Expression Source # | |
Defined in Axel.AST | |
HasTypeDefinition NewtypeDeclaration TypeDefinition Source # | |
Defined in Axel.AST | |
HasTypeDefinition DataDeclaration TypeDefinition Source # | |
Defined in Axel.AST |
class HasArguments s a | s -> a where Source #
Instances
HasArguments Lambda [Expression] Source # | |
HasArguments FunctionDefinition [Expression] Source # | |
Defined in Axel.AST | |
HasArguments FunctionApplication [Expression] Source # | |
Defined in Axel.AST |
class HasFunction s a | s -> a where Source #
Instances
HasFunction FunctionApplication Expression Source # | |
Defined in Axel.AST |
class HasBody s a | s -> a where Source #
Instances
HasBody LetBlock Expression Source # | |
HasBody Lambda Expression Source # | |
HasBody FunctionDefinition Expression Source # | |
Defined in Axel.AST |
class HasName s a | s -> a where Source #
Instances
HasName TypeSignature Identifier Source # | |
Defined in Axel.AST | |
HasName TypeclassDefinition Expression Source # | |
Defined in Axel.AST | |
HasName FunctionDefinition Identifier Source # | |
Defined in Axel.AST |
class HasWhereBindings s a | s -> a where Source #
whereBindings :: Lens' s a Source #
Instances
HasWhereBindings FunctionDefinition [FunctionDefinition] Source # | |
Defined in Axel.AST |
class HasBindings s a | s -> a where Source #
Instances
HasBindings RecordDefinition [(Identifier, Expression)] Source # | |
Defined in Axel.AST bindings :: Lens' RecordDefinition [(Identifier, Expression)] Source # | |
HasBindings LetBlock [(Expression, Expression)] Source # | |
Defined in Axel.AST bindings :: Lens' LetBlock [(Expression, Expression)] Source # |
class HasIfFalse s a | s -> a where Source #
Instances
HasIfFalse IfBlock Expression Source # | |
class HasFunctionDefinition s a | s -> a where Source #
functionDefinition :: Lens' s a Source #
Instances
HasFunctionDefinition MacroDefinition FunctionDefinition Source # | |
Defined in Axel.AST |
class HasImports s a | s -> a where Source #
Instances
HasImports RestrictedImport ImportSpecification Source # | |
Defined in Axel.AST | |
HasImports QualifiedImport ImportSpecification Source # | |
Defined in Axel.AST | |
HasImports MacroImport [Identifier] Source # | |
Defined in Axel.AST imports :: Lens' MacroImport [Identifier] Source # |
class HasModuleName s a | s -> a where Source #
moduleName :: Lens' s a Source #
Instances
HasModuleName RestrictedImport Identifier Source # | |
Defined in Axel.AST | |
HasModuleName QualifiedImport Identifier Source # | |
Defined in Axel.AST | |
HasModuleName MacroImport Identifier Source # | |
Defined in Axel.AST |
class HasConstructor s a | s -> a where Source #
constructor :: Lens' s a Source #
Instances
HasConstructor NewtypeDeclaration FunctionApplication Source # | |
Defined in Axel.AST |
class HasPragmaSpecification s a | s -> a where Source #
pragmaSpecification :: Lens' s a Source #
class HasAlias s a | s -> a where Source #
Instances
HasAlias TypeSynonym Expression Source # | |
Defined in Axel.AST | |
HasAlias QualifiedImport Identifier Source # | |
Defined in Axel.AST |
class HasFields s a | s -> a where Source #
Instances
HasFields RecordType [(Identifier, Expression)] Source # | |
Defined in Axel.AST fields :: Lens' RecordType [(Identifier, Expression)] Source # |
class HasStatements s a | s -> a where Source #
statements :: Lens' s a Source #
class HasConstraints s a | s -> a where Source #
constraints :: Lens' s a Source #
Instances
HasConstraints TypeclassDefinition [Expression] Source # | |
Defined in Axel.AST |
class HasSignatures s a | s -> a where Source #
signatures :: Lens' s a Source #
Instances
HasSignatures TypeclassDefinition [TypeSignature] Source # | |
Defined in Axel.AST |
class HasDefinitions s a | s -> a where Source #
definitions :: Lens' s a Source #
Instances
HasDefinitions TypeclassInstance [FunctionDefinition] Source # | |
Defined in Axel.AST |
class HasInstanceName s a | s -> a where Source #
instanceName :: Lens' s a Source #
Instances
HasInstanceName TypeclassInstance Expression Source # | |
Defined in Axel.AST |
class HasDefinition s a | s -> a where Source #
definition :: Lens' s a Source #
Instances
HasDefinition TypeSynonym Expression Source # | |
Defined in Axel.AST |