Menu

#49 #f is atom

open
nobody
None
5
2023-06-15
2023-06-15
No

In the Gimp version of TinyShceme,

> (atom->string #f)
Error: atom->string: not an atom: #f 

> (atom? #f)
#t

This seems inconsistent.

The C function atom2str has a case for #f. But there is no is_boolean() C function that could be used in the C code that implements atom=>string.

More discussion at Gimp#9480

Discussion


Log in to post a comment.

MongoDB Logo MongoDB