rfc:scalar-pseudo-type

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rfc:scalar-pseudo-type [2017/12/24 23:32] – Added Section about Weak Mode fleshgrinderrfc:scalar-pseudo-type [2017/12/24 23:33] (current) – Added object to the analogous list of other types fleshgrinder
Line 10: Line 10:
  
 ===== Proposal ===== ===== Proposal =====
-This RFC proposes a new ''scalar'' pseudo-type. This type is analogous to ''callable'' and ''iterable'', accepting multiple types instead of one single type.+This RFC proposes a new ''scalar'' pseudo-type. This type is analogous to ''callable''''iterable'', and ''object'', accepting multiple types instead of one single type.
  
 ''scalar'' accepts ''bool'', ''float'', ''int'', and ''string''. All of these types can be safely coerced to a ''string'' and be printed. ''scalar'' accepts ''bool'', ''float'', ''int'', and ''string''. All of these types can be safely coerced to a ''string'' and be printed.
rfc/scalar-pseudo-type.1514158352.txt.gz · Last modified: 2017/12/24 23:32 by fleshgrinder