category-extras-0.2: Various modules and constructs inspired by category theory.
Source code
Contents
Index
Data.InfiniteTree
Documentation
data
Tree
a
Source
Instances
Functor
Tree
Comonad
Tree
mkTree
:: seed -> (seed -> a) -> (seed -> seed) -> (seed -> seed) ->
Tree
a
Source
root
::
Tree
a -> a
Source
left
::
Tree
a ->
Tree
a
Source
right
::
Tree
a ->
Tree
a
Source
branchF
::
Functor
f => f (
Tree
a) ->
Tree
(f a)
Source
surreals
::
Fractional
a =>
Tree
a
Source
showTree
::
Show
a =>
Int
->
Tree
a ->
String
Source
showTreeWide
::
Show
a =>
Bool
->
Int
->
Tree
a ->
String
Source
showTree'
::
Show
a =>
Bool
-> [
String
] -> [
String
] ->
Tree
a ->
Int
->
ShowS
Source
showWide
::
Bool
-> [
String
] ->
ShowS
Source
rotateR
::
Tree
a ->
Tree
a
Source
rotateL
::
Tree
a ->
Tree
a
Source
Produced by
Haddock
version 2.3.0