next node: ComPairCompose,
prev node: ComCheck,
up to node: Subsystem Commands


ComMap

Apply a function to the result of a command.

Signature of ComMap

List of Import References :
See BOOL
See Com
See DENOTATION
See Nat
See Option
See Seq
See Void

SIGNATURE ComMap[data1, data2]

$Date: 2010-09-30 18:24:17 +0200 (Do, 30. Sep 2010) $ ($Revision: 616 $)

SORT data1 data2

IMPORT Com[data1] ONLY com
       Com[data2] ONLY com

Mapping on Commands, standard version

FUN * : (data1 -> data2) ** com[data1] -> com[data2]

Mapping on commands, different notation, which fits better in a monadic context: Com1 & f & Com2

FUN & : com[data1] ** (data1 -> data2) -> com[data2]


next node: ComPairCompose,
prev node: ComCheck,
up to node: Subsystem Commands