aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/data/collection/row.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/data/collection/row.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/library/lux/data/collection/row.lux b/stdlib/source/library/lux/data/collection/row.lux
index 59f48d867..6c04e7dd4 100644
--- a/stdlib/source/library/lux/data/collection/row.lux
+++ b/stdlib/source/library/lux/data/collection/row.lux
@@ -191,17 +191,17 @@
(type: .public (Row a)
(Record
- {#level Level
+ [#level Level
#size Nat
#root (Hierarchy a)
- #tail (Base a)}))
+ #tail (Base a)]))
(def: .public empty
Row
- {#level (level_up root_level)
+ [#level (level_up root_level)
#size 0
#root (empty_hierarchy [])
- #tail (array.empty 0)})
+ #tail (array.empty 0)])
(def: .public (size row)
(All (_ a) (-> (Row a) Nat))
@@ -439,10 +439,10 @@
(Functor Row)
(def: (each f xs)
- {#level (value@ #level xs)
+ [#level (value@ #level xs)
#size (value@ #size xs)
#root (|> xs (value@ #root) (array\each (\ node_functor each f)))
- #tail (|> xs (value@ #tail) (array\each f))}))
+ #tail (|> xs (value@ #tail) (array\each f))]))
(implementation: .public apply
(Apply Row)