Bonsai_web_test_selector.Keyedtype test_selector = tA Keyed.t is a "parametrized" selector: it will return the same value for every distinct value of 'a. In contrast, Test_selector.make return a new selector each time it's called.
Keyed.t is useful if you have many "instances" of the same vdom, but need to select one; e.g. table cells, lists, etc.
module type Of_sexpable = sig ... endval create :
here:lexing_position ->
?name:string ->
(module Of_sexpable with type t = 'a) ->
'a tcreate creates a "parametrized" selector; calling get will return the same Test_selector.t for every distinct value of 'a.
If provided, name will appear in the printed attr, and can be helpful for debugging.
val get : 'a t -> 'a -> test_selector