Control-Monad-MultiPass-0.1.0.0: A Library for Writing Multi-Pass Algorithms.

Safe HaskellSafe

Control.Monad.MultiPass.Example.Counter

Description

An example of the use of the Counter instrument.

Documentation

data Tree r w i a Source

Constructors

Node a (ST2Array r w i (Tree r w i a)) 

convertTree :: (Ix i, Num i) => Tree r w i a -> ST2 r w (Tree r w i (i, a))Source