diff options
Diffstat (limited to 'stdlib/source/library/lux/data/collection/row.lux')
-rw-r--r-- | stdlib/source/library/lux/data/collection/row.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/library/lux/data/collection/row.lux b/stdlib/source/library/lux/data/collection/row.lux index 2a6a1020d..c36a5377e 100644 --- a/stdlib/source/library/lux/data/collection/row.lux +++ b/stdlib/source/library/lux/data/collection/row.lux @@ -293,7 +293,7 @@ row))) (exception.except ..index_out_of_bounds [row idx])))) -(def: .public (update idx f row) +(def: .public (revised idx f row) (All [a] (-> Nat (-> a a) (Row a) (Try (Row a)))) (do try.monad [val (..item idx row)] @@ -358,7 +358,7 @@ (All [a] (-> (Row a) Bit)) (|>> (get@ #size) (n.= 0))) -(syntax: .public (row {elems (p.some s.any)}) +(syntax: .public (row [elems (p.some s.any)]) {#.doc (example "Row literals." (row 12 34 56 78 90))} (in (.list (` (..of_list (.list (~+ elems))))))) |