Java quasi-Symbols
This commit is contained in:
parent
e2e81a67c3
commit
cdc5295a72
12
preserves.md
12
preserves.md
|
@ -75,9 +75,15 @@ lexicographically.
|
|||
### Symbols.
|
||||
|
||||
Programming languages like Lisp and Prolog frequently use string-like
|
||||
values called *symbols*. Here, a `Symbol` is, like a `String`, a
|
||||
sequence of Unicode scalar values representing an identifier of some
|
||||
kind. `Symbol`s are also compared lexicographically by scalar value.
|
||||
values called *symbols*.[^even-java-has-quasi-symbols] Here, a `Symbol`
|
||||
is, like a `String`, a sequence of Unicode scalar values representing an
|
||||
identifier of some kind. `Symbol`s are also compared lexicographically
|
||||
by scalar value.
|
||||
|
||||
[^even-java-has-quasi-symbols]: Even Java has quasi-symbols in the form
|
||||
of its "interned strings". A Java Preserves implementation might
|
||||
intern Preserves `Symbol`s while leaving Preserves `String`s
|
||||
uninterned.
|
||||
|
||||
### Booleans.
|
||||
|
||||
|
|
Loading…
Reference in New Issue