aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/format/context.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/data/format/context.lux')
-rw-r--r--stdlib/source/lux/data/format/context.lux26
1 files changed, 13 insertions, 13 deletions
diff --git a/stdlib/source/lux/data/format/context.lux b/stdlib/source/lux/data/format/context.lux
index 5f0d29b11..a52de9af8 100644
--- a/stdlib/source/lux/data/format/context.lux
+++ b/stdlib/source/lux/data/format/context.lux
@@ -1,4 +1,4 @@
-(;module:
+(.module:
lux
(lux (control ["p" parser]
["ex" exception #+ exception:]
@@ -9,26 +9,26 @@
(exception: #export Unknown-Property)
(type: #export Context
- (d;Dict Text Text))
+ (d.Dict Text Text))
(type: #export (Property a)
- (p;Parser Context a))
+ (p.Parser Context a))
(def: #export (property name)
(-> Text (Property Text))
(function [context]
- (case (d;get name context)
- (#;Some value)
- (ex;return [context value])
+ (case (d.get name context)
+ (#.Some value)
+ (ex.return [context value])
- #;None
- (ex;throw Unknown-Property name))))
+ #.None
+ (ex.throw Unknown-Property name))))
(def: #export (run context property)
- (All [a] (-> Context (Property a) (E;Error a)))
+ (All [a] (-> Context (Property a) (E.Error a)))
(case (property context)
- (#E;Success [_ output])
- (#E;Success output)
+ (#E.Success [_ output])
+ (#E.Success output)
- (#E;Error error)
- (#E;Error error)))
+ (#E.Error error)
+ (#E.Error error)))