functor Make (M : sig
con fs :: {Unit}
val fl : folder fs
val names : $(mapU string fs)
end) = struct
fun handler values = return
{@mapUX2 [string] [string] [body]
(fn [nm :: Name] [rest :: {Unit}] [[nm] ~ rest] name value =>
{[name]} = {[value]}
)
M.fl M.names values}
fun main () = return
end