aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/module/descriptor
diff options
context:
space:
mode:
authorEduardo Julian2017-05-17 20:23:02 -0400
committerEduardo Julian2017-05-17 20:23:02 -0400
commit8bd1d1b3a4750b26f1540717839c1aa196f2a520 (patch)
treecc9d595998c3bf4d15e434480f5505fd491e39b0 /new-luxc/source/luxc/module/descriptor
parent824482b2e8b13e42a524a5e4945ea3e172395c9e (diff)
- Renamed "Error" to "Result".
Diffstat (limited to 'new-luxc/source/luxc/module/descriptor')
-rw-r--r--new-luxc/source/luxc/module/descriptor/type.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/new-luxc/source/luxc/module/descriptor/type.lux b/new-luxc/source/luxc/module/descriptor/type.lux
index d661aa385..dd11a163f 100644
--- a/new-luxc/source/luxc/module/descriptor/type.lux
+++ b/new-luxc/source/luxc/module/descriptor/type.lux
@@ -7,7 +7,7 @@
["l" lexer "l/" Monad<Lexer>])
[char]
[number]
- error
+ ["R" result]
(coll [list "L/" Functor<List>]))
[type "Type/" Eq<Type>])
["&" ../common])
@@ -136,7 +136,7 @@
)))))
(def: (decode-type input)
- (-> Text (Error Type))
+ (-> Text (R;Result Type))
(|> type-decoder
(l;before l;end)
(l;run input)))