futhark-0.9.1: An optimising compiler for a functional, array-oriented language.

Safe HaskellNone
LanguageHaskell2010

Futhark.CodeGen.Backends.GenericPython.AST

Documentation

data PyIdx Source #

Instances
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
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
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 #