futhark-0.19.5: An optimising compiler for a functional, array-oriented language.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Futhark.CodeGen.Backends.GenericPython.AST

Documentation

data PyIdx Source #

Instances

Instances details
Eq PyIdx Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

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

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

Show PyIdx Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

showsPrec :: Int -> PyIdx -> ShowS #

show :: PyIdx -> String #

showList :: [PyIdx] -> ShowS #

Pretty PyIdx Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

ppr :: PyIdx -> Doc #

pprPrec :: Int -> PyIdx -> Doc #

pprList :: [PyIdx] -> Doc #

data PyArg Source #

Instances

Instances details
Eq PyArg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

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

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

Show PyArg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

showsPrec :: Int -> PyArg -> ShowS #

show :: PyArg -> String #

showList :: [PyArg] -> ShowS #

Pretty PyArg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

ppr :: PyArg -> Doc #

pprPrec :: Int -> PyArg -> Doc #

pprList :: [PyArg] -> Doc #

newtype PyProg Source #

Constructors

PyProg [PyStmt] 

Instances

Instances details
Eq PyProg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

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

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

Show PyProg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Pretty PyProg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

ppr :: PyProg -> Doc #

pprPrec :: Int -> PyProg -> Doc #

pprList :: [PyProg] -> Doc #

data PyExcept Source #

Constructors

Catch PyExp [PyStmt] 

Instances

Instances details
Eq PyExcept Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Show PyExcept Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Pretty PyExcept Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

ppr :: PyExcept -> Doc #

pprPrec :: Int -> PyExcept -> Doc #

pprList :: [PyExcept] -> Doc #

data PyFunDef Source #

Constructors

Def String [String] [PyStmt] 

Instances

Instances details
Eq PyFunDef Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Show PyFunDef Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Pretty PyFunDef Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

ppr :: PyFunDef -> Doc #

pprPrec :: Int -> PyFunDef -> Doc #

pprList :: [PyFunDef] -> Doc #