Skip to content

Commit 0a625b2

Browse files
vaibhavsagarmarijnh
authored andcommitted
[haskell mode] Add "Applicative" and "*>" and "<*"
1 parent 780d762 commit 0a625b2

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

mode/haskell/haskell.js

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

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

203204
setType("builtin")(
204-
"Bool", "Bounded", "Char", "Double", "EQ", "Either", "Enum", "Eq",
205-
"False", "FilePath", "Float", "Floating", "Fractional", "Functor", "GT",
206-
"IO", "IOError", "Int", "Integer", "Integral", "Just", "LT", "Left",
205+
"Applicative", "Bool", "Bounded", "Char", "Double", "EQ", "Either", "Enum",
206+
"Eq", "False", "FilePath", "Float", "Floating", "Fractional", "Functor",
207+
"GT", "IO", "IOError", "Int", "Integer", "Integral", "Just", "LT", "Left",
207208
"Maybe", "Monad", "Nothing", "Num", "Ord", "Ordering", "Rational", "Read",
208209
"ReadS", "Real", "RealFloat", "RealFrac", "Right", "Show", "ShowS",
209210
"String", "True");

0 commit comments

Comments
 (0)