aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/macro/syntax/common/writer.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/macro/syntax/common/writer.lux')
-rw-r--r--stdlib/source/lux/macro/syntax/common/writer.lux9
1 files changed, 5 insertions, 4 deletions
diff --git a/stdlib/source/lux/macro/syntax/common/writer.lux b/stdlib/source/lux/macro/syntax/common/writer.lux
index 9133cdfa0..fe4c961e2 100644
--- a/stdlib/source/lux/macro/syntax/common/writer.lux
+++ b/stdlib/source/lux/macro/syntax/common/writer.lux
@@ -21,10 +21,11 @@
(~+ (list/map code.local-identifier
(get@ #//.declaration-args declaration))))))
-(def: #export (annotations anns)
+(def: #export annotations
(-> //.Annotations Code)
- (|> anns (list/map (product.both code.tag id)) code.record))
+ (|>> (list/map (product.both code.tag id))
+ code.record))
-(def: #export (type-variables vars)
+(def: #export type-variables
(-> (List Text) (List Code))
- (list/map code.local-identifier vars))
+ (list/map code.local-identifier))