Boolean values: Difference between revisions

Content added Content deleted
(Added Perl 6.)
(added Clojure)
Line 51: Line 51:


As with any other Clean data type, there are no automatic conversions of other types to Bool.
As with any other Clean data type, there are no automatic conversions of other types to Bool.

=={{header|Clojure}}==
The boolean constants are ''true'' and ''false''. In a conditional context, the only false values are ''false'' and ''nil'' -- every other value is true.


=={{header|Common Lisp}}==
=={{header|Common Lisp}}==