Tuple items (representing structs) are regarded as atoms.
(lst)
| 254 | # ====================================================================== |
| 255 | |
| 256 | def atomp(lst): |
| 257 | """Tuple items (representing structs) are regarded as atoms.""" |
| 258 | return not isinstance(lst, list) |
| 259 | |
| 260 | def listp(lst): |
| 261 | return isinstance(lst, list) |
no test coverage detected