diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-05-01 09:35:25 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-05-01 09:35:25 -0600 |
commit | f797bb14f7413df2abac6326c6df769004e50aa1 (patch) | |
tree | 20850afbf9d45adbbcc6fc3a7aecedfa34db830c /pyssg.xyz/live/static/hl/languages/haskell.min.js | |
parent | 127130ab909dac8886f45ec856f1d1bce3c7bcc0 (diff) |
small bugfix, add toc settings, update example site and delete unnecessary static assets
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/haskell.min.js')
-rw-r--r-- | pyssg.xyz/live/static/hl/languages/haskell.min.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/haskell.min.js b/pyssg.xyz/live/static/hl/languages/haskell.min.js deleted file mode 100644 index 39ac882..0000000 --- a/pyssg.xyz/live/static/hl/languages/haskell.min.js +++ /dev/null @@ -1,23 +0,0 @@ -hljs.registerLanguage("haskell",(()=>{"use strict";return e=>{const n={ -variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},i={ -className:"meta",begin:/\{-#/,end:/#-\}/},a={className:"meta",begin:"^#",end:"$" -},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={begin:"\\(", -end:"\\)",illegal:'"',contains:[i,a,{className:"type", -begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{ -begin:"[_a-z][\\w']*"}),n]};return{name:"Haskell",aliases:["hs"], -keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec", -contains:[{beginKeywords:"module",end:"where",keywords:"module where", -contains:[l,n],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$", -keywords:"import qualified as hiding",contains:[l,n],illegal:"\\W\\.|;"},{ -className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where", -keywords:"class family instance where",contains:[s,l,n]},{className:"class", -begin:"\\b(data|(new)?type)\\b",end:"$", -keywords:"data family type newtype deriving",contains:[i,s,l,{begin:/\{/, -end:/\}/,contains:l.contains},n]},{beginKeywords:"default",end:"$", -contains:[s,l,n]},{beginKeywords:"infix infixl infixr",end:"$", -contains:[e.C_NUMBER_MODE,n]},{begin:"\\bforeign\\b",end:"$", -keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe", -contains:[s,e.QUOTE_STRING_MODE,n]},{className:"meta", -begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$" -},i,a,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,s,e.inherit(e.TITLE_MODE,{ -begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}]}}})());
\ No newline at end of file |