UMinho Haskell Libraries (1.0)
Contents
Index
Camila.Examples.StackAlg
Synopsis
type
Stack
= [Int]
init'
::
Stack
empty
::
Stack
->
CamilaError
Bool
push
:: Int ->
Stack
->
CamilaError
Stack
push2
:: Int ->
Stack
->
CamilaError
Stack
push3
:: Int ->
Stack
->
CamilaError
Stack
data
Stack_pop
=
Stack_pop
Stack
pop
::
Stack
->
CamilaError
Stack
data
Stack_top
=
Stack_top
Stack
top
::
Stack
->
CamilaError
Int
data
Stack_add
=
Stack_add
Stack
add
::
Stack
->
CamilaError
Stack
Produced by
Haddock
version 0.6