Using Map on a list of tuples and print it as flat string in Erlang -
I have a list of Tuplesses:
x = [{"alpha" "Beta"}, {"gamma", "theta"}].
I want to print using X as a flat string, io_lib: format ("~ s", [X])
: "" "" "": "" "" "": "Y": " Beta "}, {" x ":" gamma "," y "ex>
How do I get it? I started using the map to change the list. But I was not able to print it as a string ... (given unbound variable error on X).
Feel like a false JSON serial! You should take a look at it as it really wants for you.
Comments
Post a Comment