Standard Lib Func for string type?

new topic     » topic index » view thread      » older message » newer message

Is there a function or type definition in the standard library for a string type? Basically, I just want to distinguish between "this is a string" and { "this is a string" }, one of which is a string and the other is a sequence of strings.

If there is not yet one, I would suggest at least an all_atoms() function, which returns True if all elements of the sequence are atoms.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu