MCPcopy Create free account
hub / github.com/TruthHun/BookStack / setType

Function setType

static/editor.md/lib/codemirror/mode/haskell/haskell.js:184–189  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

182 var wellKnownWords = (function() {
183 var wkw = {};
184 function setType(t) {
185 return function () {
186 for (var i = 0; i < arguments.length; i++)
187 wkw[arguments[i]] = t;
188 };
189 }
190
191 setType("keyword")(
192 "case", "class", "data", "default", "deriving", "do", "else", "foreign",

Callers 1

haskell.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected