futhark-0.24.3: 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
Show PyIdx Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

showsPrec :: Int -> PyIdx -> ShowS #

show :: PyIdx -> String #

showList :: [PyIdx] -> ShowS #

Eq PyIdx Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

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

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

Pretty PyIdx Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

pretty :: PyIdx -> Doc ann #

prettyList :: [PyIdx] -> Doc ann #

data PyArg Source #

Instances

Instances details
Show PyArg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

showsPrec :: Int -> PyArg -> ShowS #

show :: PyArg -> String #

showList :: [PyArg] -> ShowS #

Eq PyArg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

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

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

Pretty PyArg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

pretty :: PyArg -> Doc ann #

prettyList :: [PyArg] -> Doc ann #

newtype PyProg Source #

Constructors

PyProg [PyStmt] 

Instances

Instances details
Show PyProg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Eq PyProg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

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

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

Pretty PyProg Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

pretty :: PyProg -> Doc ann #

prettyList :: [PyProg] -> Doc ann #

data PyExcept Source #

Constructors

Catch PyExp [PyStmt] 

Instances

Instances details
Show PyExcept Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Eq PyExcept Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Pretty PyExcept Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

pretty :: PyExcept -> Doc ann #

prettyList :: [PyExcept] -> Doc ann #

data PyFunDef Source #

Constructors

Def String [String] [PyStmt] 

Instances

Instances details
Show PyFunDef Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Eq PyFunDef Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Pretty PyFunDef Source # 
Instance details

Defined in Futhark.CodeGen.Backends.GenericPython.AST

Methods

pretty :: PyFunDef -> Doc ann #

prettyList :: [PyFunDef] -> Doc ann #