aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/collection/dictionary/ordered.lux
diff options
context:
space:
mode:
authorEduardo Julian2019-07-26 21:23:27 -0400
committerEduardo Julian2019-07-26 21:23:27 -0400
commita0889b2ee76c1ae7a9a5bbe2eec9f051b4f341e4 (patch)
tree08df3db7f8fffad6360a476d20db1d40b36c85cb /stdlib/source/lux/data/collection/dictionary/ordered.lux
parent78fd01f7e6688448bbd710336d4d7b1c35ae058a (diff)
No more "n/"-prefixed functions.
Diffstat (limited to 'stdlib/source/lux/data/collection/dictionary/ordered.lux')
-rw-r--r--stdlib/source/lux/data/collection/dictionary/ordered.lux6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdlib/source/lux/data/collection/dictionary/ordered.lux b/stdlib/source/lux/data/collection/dictionary/ordered.lux
index ed090a5d7..32d1a7db1 100644
--- a/stdlib/source/lux/data/collection/dictionary/ordered.lux
+++ b/stdlib/source/lux/data/collection/dictionary/ordered.lux
@@ -7,6 +7,8 @@
[data
["p" product]
["." maybe]
+ [number
+ ["n" nat]]
[collection
["." list ("#@." monoid fold)]]]
["." macro
@@ -122,8 +124,8 @@
(inc (<op> (recur (get@ #left node))
(recur (get@ #right node)))))))]
- [size n/+]
- [depth n/max]
+ [size n.+]
+ [depth n.max]
)
(template [<name> <other-color> <self-color> <no-change>]