rose-trees-0.0.3: A collection of rose tree structures.

Copyright(c) 2014, 2015 Athan Clark
LicenseBSD-style
Maintainerathan.clark@gmail.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Data.Tree.Knuth

Contents

Description

Synopsis

Documentation

Query

elem :: Eq a => a -> KnuthTree a -> Bool Source

isSubtreeOf' :: Eq a => KnuthTree a -> KnuthTree a -> Bool Source

Bottom-up depth-first

isProperSubtreeOf' :: Eq a => KnuthTree a -> KnuthTree a -> Bool Source

Bottom-up depth-first

isChildOf :: Eq a => a -> KnuthTree a -> Bool Source

Construction

delete :: Eq a => a -> KnuthTree a -> Maybe (KnuthTree a) Source

Combination