comparison src/list_util.sig @ 34:44b5405e74c7

Elaborating module projection
author Adam Chlipala <adamc@hcoop.net>
date Tue, 17 Jun 2008 16:38:54 -0400
parents 1c91c5e6840f
children 02f42e9a1825
comparison
equal deleted inserted replaced
33:535c324f0b35 34:44b5405e74c7
27 27
28 signature LIST_UTIL = sig 28 signature LIST_UTIL = sig
29 29
30 val mapfold : ('data, 'state, 'abort) Search.mapfolder 30 val mapfold : ('data, 'state, 'abort) Search.mapfolder
31 -> ('data list, 'state, 'abort) Search.mapfolder 31 -> ('data list, 'state, 'abort) Search.mapfolder
32 val mapfoldB : ('context * 'data -> 'context * ('state -> ('data * 'state, 'abort) Search.result))
33 -> ('context, 'data list, 'state, 'abort) Search.mapfolderB
32 34
33 val foldlMap : ('data1 * 'state -> 'data2 * 'state) -> 'state -> 'data1 list -> 'data2 list * 'state 35 val foldlMap : ('data1 * 'state -> 'data2 * 'state) -> 'state -> 'data1 list -> 'data2 list * 'state
34 36
35 val search : ('a -> 'b option) -> 'a list -> 'b option 37 val search : ('a -> 'b option) -> 'a list -> 'b option
36 38