Pliant talk forum

Pliant talk forum

Discussion: About Anything

what is a Anything ?
Message posted by pom on 2003/03/08 11:11:59
data_kind:Anything actually returns data_record.
It causes the creation of a Data:Anything to induce the writing of
a "value" and "index" in the database.
Other possibilitites to avoid this:
  - define a type_flag_field for the type Anything,
  - define a 'from string' method for it (causes the type to be considered
    as a field)
  - add a type_flag_undefined and patch data_kind consequently.

If one disallow the creation of a Data:Anything, the access to things like
Set:Anything becomes more difficult.
Message posted by pom on 2003/03/08 11:14:56
The first possibility would need the patch typo ? to be applied. Otherwise, type_flag_field has exactly no effect.

The second possibility is implemented in Anything related patch.