diff --git a/lib/modules/Val.pmod b/lib/modules/Val.pmod index d85d1322cf1e62fb9568a3631c9d405e45e92d19..1664bfbdbce535da2fa6a3c704af7bf79822a320 100644 --- a/lib/modules/Val.pmod +++ b/lib/modules/Val.pmod @@ -97,7 +97,7 @@ class False Boolean true = True(); Boolean false = False(); -//! Objects that represents the boolean values true and false. In a +//! Objects that represent the boolean values true and false. In a //! boolean context these evaluate to true and false, respectively. //! //! They produce @expr{1@} and @expr{0@}, respectively, when cast to @@ -116,13 +116,13 @@ Boolean false = False(); //! something like //! //! @code -//! if (objectp(something) && something->is_val_true) ... +//! if (objectp(something) && ([object]something)->is_val_true) ... //! @endcode //! //! and //! //! @code -//! if (objectp(something) && something->is_val_false) ... +//! if (objectp(something) && ([object]something)->is_val_false) ... //! @endcode //! //! respectively. See @[Val.null] for rationale. @@ -177,7 +177,7 @@ Null null = Null(); //! something like //! //! @code -//! if (objectp(something) && something->is_val_null) ... +//! if (objectp(something) && ([object]something)->is_val_null) ... //! @endcode //! //! That way it's possible for other code to replace it with an