aboutsummaryrefslogtreecommitdiff
path: root/lux-mode
diff options
context:
space:
mode:
authorEduardo Julian2019-03-02 21:09:39 -0400
committerEduardo Julian2019-03-02 21:09:39 -0400
commit8a629bbbb0bd4950fb0f3c6d14c1a9a0ba057174 (patch)
tree7d0de954b940609660b061c6eb5155b940ba771b /lux-mode
parent0b6be3e4022acfa4650f09f53b9aa5a5e7818cf7 (diff)
Added the capacity to extract type-information from values to create new types based on that.
Diffstat (limited to 'lux-mode')
-rw-r--r--lux-mode/lux-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lux-mode/lux-mode.el b/lux-mode/lux-mode.el
index 53aecac83..f43034057 100644
--- a/lux-mode/lux-mode.el
+++ b/lux-mode/lux-mode.el
@@ -245,7 +245,7 @@ Called by `imenu--generic-function'."
(control//contract (altRE "pre" "post"))
;; Type
(type//syntax (altRE "|" "&" "->" "All" "Ex" "Rec" "primitive" "\\$" "type"))
- (type//checking (altRE ":" ":coerce" ":~" ":assume" ":of" ":cast" ":share"))
+ (type//checking (altRE ":" ":coerce" ":~" ":assume" ":of" ":cast" ":share" ":extract"))
(type//abstract (altRE "abstract:" ":abstraction" ":representation" ":transmutation" "\\^:representation"))
(type//unit (altRE "unit:" "scale:"))
(type//poly (altRE "poly:" "derived:"))