Go to the first, previous, next, last section, table of contents.


Ausdr"ucke

----------------------------------------------------------------------
> module Expr           (  Ident(..), Expr(..), Prim(..)
>                       )
> where
----------------------------------------------------------------------

----------------------------------------------------------------------
> import Support
>
> import Prim           (  Ident(..), Prim(..)  )
----------------------------------------------------------------------

Darstellung von Ausdr"ucken

----------------------------------------------------------------------
> data Expr             =  Var     Ident
>                       |  Lit     Rational
>                       |  AppPrim Prim  Int Expr
>                       |  AppFun  Ident Int Expr
>                       |  Neg     Expr
>                       |  Add     Expr Expr
>                       |  Sub     Expr Expr
>                       |  Mul     Expr Expr
>                       |  Div     Expr Expr
>                       |  Pow     Expr Expr
----------------------------------------------------------------------


Go to the first, previous, next, last section, table of contents.