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

Safe HaskellSafe

Control.Monad.MultiPass.Example.StringInterning

Description

An example of the use of the OrdCons instrument. An array of strings is converted to an array of integer indices, with one index for each distinct string. This process is commonly known as string interning.

Documentation