[erlang-questions] How to find an object in an ETS table ?

Robert Raschke <>
Sun Nov 28 19:29:15 CET 2010


On Fri, Nov 26, 2010 at 10:25 PM, info <> wrote:

>  How to evict this artifact ?
>
>

You do not have to do anything special at all. This:
[[123],[456]]
is a list with two elements, each of wich is a list with one integer
element.

Only when you try and print it using the default Erlang term printing rules,
does the _formatting_ turn the first list into its equivalent string
representation. It does that, because it looks like a string (i.e., a list
of integers < 128).

1> [[V1],[V2]]=[[123],[456]].
["{",[456]]
2> V1.
123
3>

Robby


More information about the erlang-questions mailing list