Getting lists from ASCII input
Mon May 15 23:15:25 CEST 2006
I'm still a (raw) beginner but...
I'm trying to write a program (a client - my students will write the
server) which needs to allow the user to enter a list in repsonse to a
I cannot quite figure out what combination of list_to_atom and
atom_to_list I need to do this.
e.g. if the user enter:
I'd like to be able to get the remove as an atom and the [a,b,c] as a
list of three atoms. Currently, I can get the list
Which has the [ command and ] as terms.
I'm sure I must be missing something obvious.
|Deryk Barker, Computer Science Dept. | Music does not have to be understood|
|Camosun College, Victoria, BC, Canada| It has to be listened to. |
|email: | |
|phone: +1 250 370 4452 | Hermann Scherchen. |
More information about the erlang-questions