DataTreeView-0.1: A GTK widget for displaying arbitrary Data.Data.Data instances

DataTreeView.StrictTypes

Contents

Description

Remark: the heavy use of strictness here is for correctly catching exceptions, not for performance reasons

Synopsis

Documentation

module Data.Tree

Strict lists

Construction

class ToStrictList x a whereSource

Methods

strictList :: x -> StrictList aSource

Instances

ToStrictList a a

Singleton

ToStrictList [a] a

From lazy list

ToStrictList (StrictList a) a

Identity

ToStrictList x a => ToStrictList (a, x) a

Cons

Modification

Destruction

foldl' :: (r -> a -> r) -> r -> StrictList a -> rSource

Strict trees and forests

Construction

class ToStrictTree x a whereSource

Methods

strictTree :: x -> StrictTree aSource

Instances

ToStrictTree a a

Leaf

ToStrictTree (Tree a) a

From lazy tree

ToStrictTree (StrictTree a) a

Identity

ToStrictForest y a => ToStrictTree (a, y) a

From node value and subforest

class ToStrictForest y a whereSource

Destruction