@@ -140,22 +140,21 @@ module Handler : sig
140140
141141 (* * {1 Building handlers} *)
142142
143- (* * [make implementations ] create a new handler from a list of bindings. It
144- only keeps the last implementation supplied for each Trait, from left to
143+ (* * [make bindings ] create a new handler from a list of bindings. It only
144+ keeps the last implementation supplied for each Trait, from left to
145145 right. This means that the resulting handler will not contain any
146- duplicate Traits, and the order of the implementations in the input list
147- can affect its contents. *)
146+ duplicate Traits, and the order of the bindings in the input list can
147+ affect its contents. *)
148148 val make : 't Binding .t list -> ('t , _ ) t
149149
150- (* * [implementations t] returns a list of Trait implementations that the
151- handler [t] supports. See also {!extend}. *)
152- val implementations : ('t , _ ) t -> 't Binding .t list
150+ (* * [bindings t] returns a list of bindings with the Traits that the handler
151+ [t] supports. See also {!extend}. *)
152+ val bindings : ('t , _ ) t -> 't Binding .t list
153153
154- (* * [extend t ~with_] extends the handler [t] and returns a new handler
155- that includes both the original and additional implementations. The
156- resulting handler only contains the last occurrence of each Trait,
157- prioritizing the rightmost elements in the combined list
158- [implementations t @ with_]. *)
154+ (* * [extend t ~with_] extends the handler [t] and returns a new handler that
155+ includes both the original and additional bindings. The resulting
156+ handler only contains the last occurrence of each Trait, prioritizing
157+ the rightmost elements in the combined list [bindings t @ with_]. *)
159158 val extend : ('t , _ ) t -> with_ :'t Binding .t list -> ('t , _ ) t
160159
161160 (* * {1 Lookup}
0 commit comments