The SML/NJ Library Reference Manual


The CHAR_MAP signature


Synopsis

signature CHAR_MAP

Interface

type 'a char_map
val mkCharMap : {default : 'a, bindings : (string * 'a) list} -> 'a char_map
val mapChr : 'a char_map -> char -> 'a
val mapStrChr : 'a char_map -> (string * int) -> 'a

Description

type 'a char_map

mkCharMap {default, bindings}
explain the use and semantics of mkCharMap HERE.

mapChr cm c
explain the use and semantics of mapChr HERE.

mapStrChr cm (s, i)
explain the use and semantics of mapStrChr HERE.



[ INDEX | TOP | Parent | Root ]

Last Modified May 29, 1996
Copyright © 1996 AT&T Research