feldspar-compiler-0.7: Compiler for the Feldspar language

Safe HaskellNone
LanguageHaskell2010

Feldspar.Transformation.Framework

Documentation

transformationError :: String -> a Source

class Default t where Source

Minimal complete definition

Nothing

Methods

def :: t Source

Instances

Default ()
Default [a]
(Default a, Default b) => Default (a, b)
(Default a, Default b, Default c) => Default (a, b, c)

class Combine t where Source

Minimal complete definition

Nothing

Methods

combine :: t -> t -> t Source

Instances

class (Default (Up t), Combine (Up t)) => Transformation t Source

Associated Types

type From t Source

type To t Source

type State t Source

type Down t Source

type Up t Source

Instances

data Result t s Source

Constructors

Fields

result :: s (To t)
state :: State t
up :: Up t

Instances

(Transformation t, Show (s (To t)), Show (State t), Show (Up t)) => Show (Result t s)

data Result1 t s a Source

Constructors

Fields

result1 :: s (a (To t))
state1 :: State t
up1 :: Up t

Instances

(Transformation t, Show (s (b (To t))), Show (State t), Show (Up t)) => Show (Result1 t s b)

class Transformable t s where Source

Methods

transform :: t -> State t -> Down t -> s (From t) -> Result t s Source

Instances

class Transformable1 t s a where Source

Methods

transform1 :: t -> State t -> Down t -> s (a (From t)) -> Result1 t s a Source

Instances

class DefaultTransformable t s where Source

Methods

defaultTransform :: t -> State t -> Down t -> s (From t) -> Result t s Source

Instances

class DefaultTransformable1 t s a where Source

Methods

defaultTransform1 :: t -> State t -> Down t -> s (a (From t)) -> Result1 t s a Source

Instances

AltStyle によって変換されたページ (->オリジナル) /