Skip to content

Commit 07fdccf

Browse files
vaibhavsagarmarijnh
authored andcommitted
[haskell mode] Add some builtins
1 parent c04db48 commit 07fdccf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

mode/haskell/haskell.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ CodeMirror.defineMode("haskell", function(_config, modeConfig) {
197197
"\.\.", ":", "::", "=", "\\", "<-", "->", "@", "~", "=>");
198198

199199
setType("builtin")(
200-
"!!", "$!", "$", "&&", "+", "++", "-", ".", "/", "/=", "<", "<=", "=<<",
201-
"==", ">", ">=", ">>", ">>=", "^", "^^", "||", "*", "**");
200+
"!!", "$!", "$", "&&", "+", "++", "-", ".", "/", "/=", "<", "<=", "<$>",
201+
"<*>", "=<<", "==", ">", ">=", ">>", ">>=", "^", "^^", "||", "*", "**");
202202

203203
setType("builtin")(
204204
"Bool", "Bounded", "Char", "Double", "EQ", "Either", "Enum", "Eq",
@@ -223,7 +223,7 @@ CodeMirror.defineMode("haskell", function(_config, modeConfig) {
223223
"lcm", "length", "lex", "lines", "log", "logBase", "lookup", "map",
224224
"mapM", "mapM_", "max", "maxBound", "maximum", "maybe", "min", "minBound",
225225
"minimum", "mod", "negate", "not", "notElem", "null", "odd", "or",
226-
"otherwise", "pi", "pred", "print", "product", "properFraction",
226+
"otherwise", "pi", "pred", "print", "product", "properFraction", "pure",
227227
"putChar", "putStr", "putStrLn", "quot", "quotRem", "read", "readFile",
228228
"readIO", "readList", "readLn", "readParen", "reads", "readsPrec",
229229
"realToFrac", "recip", "rem", "repeat", "replicate", "return", "reverse",

0 commit comments

Comments
 (0)