diff options
author | Eduardo Julian | 2021-09-14 01:26:29 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-09-14 01:26:29 -0400 |
commit | 0797dfc9ebb32e5eb324eec58e1e4b1c99895ce7 (patch) | |
tree | 7fe374551b7073a7aabb0a84e370546177b98820 /stdlib/source/library/lux/data/name.lux | |
parent | 6eb57a31fd2647626ef301b827c9a99ef0f2a484 (diff) |
Re-named "Name" to "Symbol".
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/meta/symbol.lux (renamed from stdlib/source/library/lux/data/name.lux) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/library/lux/data/name.lux b/stdlib/source/library/lux/meta/symbol.lux index c0fc1cd86..8cab8c53c 100644 --- a/stdlib/source/library/lux/data/name.lux +++ b/stdlib/source/library/lux/meta/symbol.lux @@ -10,12 +10,12 @@ ["[0]" text ("[1]#[0]" equivalence monoid)] ["[0]" product]]]]) -... (type: Name +... (type: Symbol ... [Text Text]) (template [<name>] [(def: .public (<name> [module short]) - (-> Name Text) + (-> Symbol Text) <name>)] [module] @@ -23,15 +23,15 @@ ) (def: .public hash - (Hash Name) + (Hash Symbol) (product.hash text.hash text.hash)) (def: .public equivalence - (Equivalence Name) + (Equivalence Symbol) (# ..hash &equivalence)) (implementation: .public order - (Order Name) + (Order Symbol) (def: &equivalence ..equivalence) (def: (< [moduleP shortP] [moduleS shortS]) @@ -43,7 +43,7 @@ ".") (implementation: .public codec - (Codec Text Name) + (Codec Text Symbol) (def: (encoded [module short]) (case module @@ -59,4 +59,4 @@ {.#Right [module short]} _ - {.#Left (text#composite "Invalid format for Name: " input)}))) + {.#Left (text#composite "Invalid format for Symbol: " input)}))) |