From 8a629bbbb0bd4950fb0f3c6d14c1a9a0ba057174 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Sat, 2 Mar 2019 21:09:39 -0400 Subject: Added the capacity to extract type-information from values to create new types based on that. --- lux-mode/lux-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lux-mode') 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:")) -- cgit v1.2.3