aboutsummaryrefslogtreecommitdiffstats
path: root/lib/protocols/Enumerable.mli
blob: 4a903f694c05cc81860ad7ef52289ab9ebf12b52 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
type t

class type implementation = object
  method enumerate : Context.t -> (Handle.t, Concepts.Condition.condition) result
end

val make : #implementation -> Handle.protocol
val from : Handle.t -> t Handle.interface option

val require : Handle.t -> (t Handle.interface, Concepts.Condition.condition) result

val enumerate :
  t Handle.interface -> Context.t -> (Handle.t, Concepts.Condition.condition) result