_list1(v: any): list

Returns a list containing a single element whose value is v.

_list1("foo") == <"foo">
_list1([foo = 1, bar = TRUE]) == < [foo = 1, bar = TRUE] >

_bind1(n: text, v: any): binding

If n is the empty string, returns ERR. Otherwise, returns a binding with the single <name, value> pair <n, v>. Note that v may be any value, including ERR.

_bind1("foo", <1, 2, 3>) == [ foo = <1, 2, 3> ]
_bind1("env_ovs",
       _bind1("C",
              _bind1("switches",
                     _bind1("compile",
                            _bind1("optimize", "-O2")))))
  == [ env_ovs/C/switches/compile/optimize = "-O2" ]

Kenneth C. Schalk <ken@xorian.net> / Primitive Functions / Vesta SDL Programmer's Reference