[erlang-questions] Q: Differenciating between List and List of Lists

jm <>
Wed Oct 15 07:46:00 CEST 2008


What is the best way to tell the difference between a list and a list of 
lists (possible in a guard)? What I'm trying to differentiate between is 
a string, eg, "astring" and a list of strings, eg ["a", "list", "of",  
"strings"].

Jeff.



More information about the erlang-questions mailing list