ue# (eqWord# before# (indexWord8Array# ba# (offset# +# i#))) -+ if isTrue# (eqWord8# before# (indexWord8Array# ba# (offset# +# i#))) - then - do writeWordToPtr ptr i after - escape before after ptr name offset len (i + 1) diff --git a/lang/elm/files/patch-compiler_src_Parse_Variable.hs b/lang/elm/files/patch-compiler_src_Parse_Variable.hs deleted file mode 100644 index 0ac1b23864c0..000000000000 --- a/lang/elm/files/patch-compiler_src_Parse_Variable.hs +++ /dev/null @@ -1,17 +0,0 @@ ---- compiler/src/Parse/Variable.hs.orig 2019-10-20 14:31:43 UTC -+++ compiler/src/Parse/Variable.hs -@@ -21,7 +21,7 @@ import Foreign.Ptr (Ptr, plusPtr) - import qualified Data.Set as Set - import Data.Word (Word8) - import Foreign.Ptr (Ptr, plusPtr) --import GHC.Exts (Char(C#), Int#, (+#), (-#), chr#, uncheckedIShiftL#, word2Int#) -+import GHC.Exts (Char(C#), Int#, (+#), (-#), chr#, uncheckedIShiftL#, word2Int#, word8ToWord#) - import GHC.Word (Word8(W8#)) - - import qualified AST.Source as Src -@@ -384,4 +384,4 @@ unpack (W8# word#) = - - unpack :: Word8 -> Int# - unpack (W8# word#) = -- word2Int# word# -+ word2Int# (word8ToWord# word#) diff --git a/lang/elm/files/patch-elm.cabal b/lang/elm/files/patch-elm.cabal deleted file mode 100644 index 79fe9468b954..000000000000 --- a/lang/elm/files/patch-elm.cabal +++ /dev/null @@ -1,65 +0,0 @@ ---- elm.cabal.orig 2019-10-20 14:31:43 UTC -+++ elm.cabal -@@ -35,9 +35,6 @@ Executable elm - - - Executable elm -- if flag(dev) -- ghc-options: -O0 -Wall -Werror -- else - ghc-options: -O2 -rtsopts -threaded "-with-rtsopts=-N -qg -A128m" - -- add -eventlog for (elm make src/Main.elm +RTS -l; threadscope elm.eventlog) - -- https://www.oreilly.com/library/view/parallel-and-concurrent/9781449335939/ -@@ -203,26 +200,26 @@ Executable elm - Paths_elm - - Build-depends: -- ansi-terminal >= 0.8 && < 0.9, -- ansi-wl-pprint >= 0.6.8 && < 0.7, -- base >=4.11 && <5, -- binary >= 0.8 && < 0.9, -- bytestring >= 0.9 && < 0.11, -- containers >= 0.5.8.2 && < 0.6, -- directory >= 1.2.3.0 && < 2.0, -- edit-distance >= 0.2 && < 0.3, -+ ansi-terminal, -+ ansi-wl-pprint < 1, -+ base, -+ binary, -+ bytestring, -+ containers, -+ directory, -+ edit-distance, - file-embed, - filelock, -- filepath >= 1 && < 2.0, -- ghc-prim >= 0.5.2, -+ filepath, -+ ghc-prim, - haskeline, -- HTTP >= 4000.2.5 && < 4000.4, -- http-client >= 0.6 && < 0.7, -- http-client-tls >= 0.3 && < 0.4, -- http-types >= 0.12 && < 1.0, -- language-glsl >= 0.3, -- mtl >= 2.2.1 && < 3, -- network >= 2.4 && < 2.7, -+ HTTP, -+ http-client, -+ http-client-tls, -+ http-types, -+ language-glsl, -+ mtl, -+ network, - parsec, - process, - raw-strings-qq, -@@ -231,7 +228,7 @@ Executable elm - snap-core, - snap-server, - template-haskell, -- time >= 1.9.1, -+ time, - unordered-containers, - utf8-string, - vector, diff --git a/lang/elm/pkg-descr b/lang/elm/pkg-descr deleted file mode 100644 index 760bfef6c3ce..000000000000 --- a/lang/elm/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Elm is a functional language that compiles to JavaScript. It competes with -projects like React as a tool for creating websites and web apps. Elm has a -very strong emphasis on simplicity, ease-of-use, and quality tooling.