Files
n8n-openai-adapter/lib/tuple.ex
T
2011-02-06 18:18:16 +01:00

15 lines
236 B
Elixir

object Tuple
def inspect
strings = to_list.map -> (x) x.inspect.to_char_list
"{#{String.new Erlang.string.join(strings, [$,, $\s])}}"
end
def to_s
inspect
end
def to_list
Erlang.tuple_to_list(self)
end
end