summaryrefslogtreecommitdiff
path: root/src/elisp
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-02-21 15:33:20 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-02-21 15:33:20 -0500
commitc40cb1851bc27f0a0a99648be21dacb821b65ed9 (patch)
tree6ec268a6e7aaa927f41c76e354e78ca55585f69a /src/elisp
parent9f20d9299eab7caab6421860b6a54f831af73921 (diff)
"Hello world" compiles, after replacing type-level fold with map
Diffstat (limited to 'src/elisp')
-rw-r--r--src/elisp/urweb-defs.el4
-rw-r--r--src/elisp/urweb-mode.el2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/elisp/urweb-defs.el b/src/elisp/urweb-defs.el
index 5551b7a2..e1382692 100644
--- a/src/elisp/urweb-defs.el
+++ b/src/elisp/urweb-defs.el
@@ -107,7 +107,7 @@ notion of \"the end of an outline\".")
"if" "then" "else" "case" "of" "fn" "fun" "val" "and"
"datatype" "type" "open" "include"
urweb-module-head-syms
- "con" "fold" "where" "extern" "constraint" "constraints"
+ "con" "map" "where" "extern" "constraint" "constraints"
"table" "sequence" "class" "cookie")
"Symbols starting an sexp.")
@@ -192,7 +192,7 @@ for all symbols and in all lines starting with the given symbol."
"The starters of new expressions.")
(defconst urweb-exptrail-syms
- '("if" "then" "else" "case" "of" "fn" "with" "fold"))
+ '("if" "then" "else" "case" "of" "fn" "with" "map"))
(defconst urweb-pipeheads
'("|" "of" "fun" "fn" "and" "datatype")
diff --git a/src/elisp/urweb-mode.el b/src/elisp/urweb-mode.el
index 223006fc..e7615cc3 100644
--- a/src/elisp/urweb-mode.el
+++ b/src/elisp/urweb-mode.el
@@ -133,7 +133,7 @@ See doc for the variable `urweb-mode-info'."
(defconst urweb-keywords-regexp
(urweb-syms-re "and" "case" "class" "con" "constraint" "constraints"
- "datatype" "else" "end" "extern" "fn" "fold"
+ "datatype" "else" "end" "extern" "fn" "map"
"fun" "functor" "if" "include"
"of" "open" "let" "in"
"rec" "sequence" "sig" "signature" "cookie"