cookbook-3.0.1.1: Tiered general-purpose libraries with domain-specific applications.

Copyright(c) 2014 by Nate Pisarski
LicenseBSD3
Maintainernathanpisarski@gmail.com
StabilityStable
PortabilityPortable (Standalone - ghc)
Safe HaskellSafe
LanguageHaskell98

Cookbook.Recipes.DataStructures

Description

Library for defining high-level generic data structures, most commonly containers. Specialized data types for specialized projects should go into Projects. It's sort of why it exists.

Synopsis

Documentation

data Tree a Source #

Implementation of a binary tree.

Constructors

Empty 
Branch a (Tree a) (Tree a) 

Instances

Show a => Show (Tree a) Source # 

Methods

showsPrec :: Int -> Tree a -> ShowS #

show :: Tree a -> String #

showList :: [Tree a] -> ShowS #