aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/type/resource.lux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/library/lux/type/resource.lux22
1 files changed, 11 insertions, 11 deletions
diff --git a/stdlib/source/library/lux/type/resource.lux b/stdlib/source/library/lux/type/resource.lux
index 1dea469da..8a815c47b 100644
--- a/stdlib/source/library/lux/type/resource.lux
+++ b/stdlib/source/library/lux/type/resource.lux
@@ -152,11 +152,11 @@
"This keys will be placed at the front of the keyring in the order they are specified."
"The specific keys must be specified based of their index into the current keyring."
(do (..monad !)
- [res|left (/.commutative ! pre)
- res|right (/.commutative ! post)
- _ ((/.exchange [1 0]) !)
- left (/.read ! res|left)
- right (/.read ! res|right)]
+ [res|left (commutative ! pre)
+ res|right (commutative ! post)
+ _ ((exchange [1 0]) !)
+ left (read ! res|left)
+ right (read ! res|right)]
(in (format left right))))}
(macro.with_identifiers [g!_ g!context g!!]
(case swaps
@@ -199,12 +199,12 @@
[(syntax: .public (<name> [amount ..amount])
{#.doc (example "Group/un-group keys in the keyring into/out-of tuples."
(do (..monad !)
- [res|left (/.commutative ! pre)
- res|right (/.commutative ! post)
- _ ((/.group 2) !)
- _ ((/.un_group 2) !)
- right (/.read ! res|right)
- left (/.read ! res|left)]
+ [res|left (commutative ! pre)
+ res|right (commutative ! post)
+ _ ((group 2) !)
+ _ ((un_group 2) !)
+ right (read ! res|right)
+ left (read ! res|left)]
(in (format left right))))}
(macro.with_identifiers [g!_ g!context g!!]
(do {! meta.monad}