--- a/False.st Sat Apr 20 21:11:19 1996 +0200
+++ b/False.st Sat Apr 20 21:15:20 1996 +0200
@@ -11,10 +11,10 @@
"
Boolean subclass:#False
- instanceVariableNames:''
- classVariableNames:''
- poolDictionaries:''
- category:'Kernel-Objects'
+ instanceVariableNames:''
+ classVariableNames:''
+ poolDictionaries:''
+ category:'Kernel-Objects'
!
!False class methodsFor:'documentation'!
@@ -35,8 +35,8 @@
documentation
"
-lets see ....
False has only one instance, false, representing logical falsehood.
+
Some methods are implemented here and in True, instead of the common
superclass Boolean. This has the advantage, that no truth-value checks
are needed, but instead the thruth check is done in the method lookup.
@@ -45,7 +45,6 @@
of some methods here will not have any effect on compiled code.
(redefining ifTrue: to something else will probably crash the smalltalk
world anyway ...)
-
"
"Created: 18.11.1995 / 14:53:42 / cg"
@@ -155,4 +154,4 @@
!False class methodsFor:'documentation'!
version
-^ '$Header: /cvs/stx/stx/libbasic/False.st,v 1.14 1995-12-07 19:16:02 cg Exp $'! !
+^ '$Header: /cvs/stx/stx/libbasic/False.st,v 1.15 1996-04-20 19:15:20 cg Exp $'! !
--- a/True.st Sat Apr 20 21:11:19 1996 +0200
+++ b/True.st Sat Apr 20 21:15:20 1996 +0200
@@ -11,10 +11,10 @@
"
Boolean subclass:#True
- instanceVariableNames:''
- classVariableNames:''
- poolDictionaries:''
- category:'Kernel-Objects'
+ instanceVariableNames:''
+ classVariableNames:''
+ poolDictionaries:''
+ category:'Kernel-Objects'
!
!True class methodsFor:'documentation'!
@@ -36,6 +36,7 @@
documentation
"
True has only one instance, true, representing logical truth.
+
Some methods are implemented here and in False, instead of the common
superclass Boolean. This has the advantage, that no truth-value checks
are needed, but instead the thruth check is done in the method lookup.
@@ -151,5 +152,5 @@
!True class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/True.st,v 1.15 1995-12-07 19:39:17 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/True.st,v 1.16 1996-04-20 19:15:11 cg Exp $'
! !