Added Haskell programming language (#3108)

* added: code_haskell language;

* fixed: missing comma;
This commit is contained in:
Cody Bloemhard 2022-06-12 16:21:52 +02:00 committed by GitHub
parent b55419dfc0
commit 42d3d34bb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 217 additions and 0 deletions

View file

@ -322,6 +322,7 @@
"code_javascript",
"code_javascript_1k",
"code_julia",
"code_haskell",
"code_html",
"code_pascal",
"code_java",

View file

@ -172,6 +172,7 @@
,"code_javascript"
,"code_javascript_1k"
,"code_julia"
,"code_haskell"
,"code_html"
,"code_pascal"
,"code_java"

View file

@ -0,0 +1,215 @@
{
"name": "code_haskell",
"leftToRight": true,
"noLazyMode": true,
"words": [
"!",
"'",
"''",
"-",
"--",
"-<",
"-<<",
"->",
"::",
";",
"<-",
",",
"=",
"=>",
">",
"?",
"#",
"*",
"@",
"[|",
"|]",
"\\",
"_",
"`",
"{,",
"}",
"{-",
"-}",
"|",
"~",
"as",
"case",
"of",
"class",
"data",
"data family",
"data instance",
"default",
"deriving",
"deriving instance",
"do",
"forall",
"foreign",
"hiding",
"if",
"then",
"else",
"import",
"infix",
"infixl",
"infixr",
"instance",
"let",
"in",
"mdo",
"module",
"newtype",
"proc",
"qualified",
"rec",
"type",
"type family",
"type instance",
"where",
"Int",
"Float",
"Double",
"Bool",
"Char",
"String",
"()",
"[Int]",
"[Float]",
"[Double]",
"[Bool]",
"[Char]",
"[String]",
"(&&)",
"(||)",
"(==)",
"(/=)",
"(<)",
"(<=)",
"(>)",
"(>=)",
"(+)",
"(-)",
"(*)",
"(/)",
"(**)",
"(^)",
"(^^)",
"(<$)",
"(<$>)",
"(<*>)",
"(*>)",
"(<*)",
"(>>=)",
"(>>)",
"(=<<)",
"(.)",
"($)",
"($!)",
"(++)",
"(!!)",
"not",
"otherwise",
"fst",
"snd",
"curry",
"uncurry",
"max",
"min",
"succ",
"pred",
"negate",
"abs",
"signum",
"quot",
"rem",
"div",
"mod",
"recip",
"even",
"odd",
"fmap",
"pure",
"return",
"foldMap",
"foldr",
"foldl",
"elem",
"maximum",
"minimum",
"sum",
"product",
"traverse",
"sequence",
"id",
"const",
"flip",
"until",
"undefined",
"seq",
"map",
"filter",
"head",
"last",
"tail",
"init",
"null",
"length",
"reverse",
"and",
"or",
"any",
"all",
"concat",
"concatMap",
"iterate",
"repeat",
"replicate",
"cycle",
"take",
"drop",
"takeWhile",
"dropWhile",
"span",
"break",
"splitAt",
"notElem",
"loopup",
"zip",
"zipWith",
"unzip",
"lines",
"words",
"unlines",
"unwords",
"putChar",
"putStr",
"putStrLn",
"print",
"getChar",
"getLine",
"getContents",
"interact",
"readFile",
"writeFile",
"appendFile",
"readIO",
"readLn",
"Eq",
"Enum",
"Bounded",
"Num",
"Real",
"Fractional",
"Semigroup",
"Functor",
"Applicative",
"Monad",
"Foldable",
"Show",
"Read",
"Maybe",
"Either",
"Ordering"
]
}