impr(language): add more words to Scala (Hombre-x) (#4933)

* impr(language): add new words to Scala

* Update code_scala.json
* Added Scala common words

Some new words include:

- Typeclases (Functor and Monad)
- Types (Double, Option, Either, IO, ZIO, etcetera...)
- Scala 3 grammar keywords (given and using)
- Operators (:::, <=, >=, ===, etcetera...)
- Combinators (flatMap, foldLeft, traverse, etcetera...)

* fix(languages): removed duplicate on Scala

* Update code_scala.json
* fix: removed duplicated word "@main"

* fix(language): removed duplicate on Scala

* Update code_scala.json
* fix: removed duplicated word "@main"
This commit is contained in:
Gabriel Santana Paredes 2024-01-18 04:49:41 -05:00 committed by GitHub
parent c0b6fbfefc
commit 9b79f2b053
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,28 +2,82 @@
"name": "code_scala",
"noLazyMode": true,
"words": [
"::",
"=>",
"_",
"->",
":::",
"::",
":",
":+",
"+:",
"!=",
"!==",
"(",
")",
"[",
"]",
"{",
"}",
"&&",
"<",
"<=",
"=",
"==",
"===",
"=>",
">",
">=",
"||",
"@main",
"App",
"ClassTag",
"Double",
"Either",
"Float",
"Functor",
"Future",
"HashMap",
"Int",
"IO",
"LazyList",
"Left",
"List",
"Map",
"Monad",
"Nil",
"None",
"Option",
"Resource",
"Right",
"Seq",
"Set",
"Some",
"Stream",
"String",
"Try",
"Unit",
"Vector",
"ZIO",
"abstract",
"apply",
"case",
"collection.mutable",
"collection.immutable",
"class",
"collect",
"collection.immutable",
"collection.mutable",
"def",
"evalMap",
"evalTap",
"extends",
"filter",
"flatMap",
"flatTap",
"flatten",
"fold",
"foldLeft",
"foldMap",
"foldRight",
"foreach",
"given",
"implicit",
"import",
"lazy",
@ -38,7 +92,9 @@
"s\"\"",
"scala",
"sealed",
"traverse",
"update",
"using",
"val",
"var",
"withFilter"