functor (A : S->
  sig
    type t = A.t array
    val syntax : Syntax.t
    val of_json : json -> t
    val to_json : t -> json
  end