Skip to content

syntax

def NodeId : Type

A node’s label (the debugger stops there, errors point at it).

data Constant

A literal’s value: an int or a float as its text (a Python int has no size limit).

data BinOp

A binary operator.

data UnaryOp

A unary operator.

data BoolOp

and and or.

data CmpOp

A comparison operator.

data Program

A whole program: the statements of the module.