on master help sign in
Add Data.Utf8 to elm.cabal for 8% allocation reduction

It needs compareByteArrays# which is only available in newer versions of base and ghc-prim, so this updates those dependencies as well. The new base and ghc-prim ship with GHC 8.4.3 so I needed to update the language-glsl constraint as well.

commit545e14d91a326c22b03594340694b21a5f7e1c74 authorEvan Czaplicki <evancz@users.noreply.github.com> dateThu 15 Nov 2018, 18:01 (8 years ago) parent5a3d912
1 file changed+4−3
elm.cabal+4−3
elm.cabal+4−3
@@ -163,6 +163,7 @@ Executable elm
163163 Data.Bag
164164 Data.Index
165165 Data.OneOrMore
166+ Data.Utf8
166167 Elm.Compiler.Imports
167168 Elm.Compiler.Type.Extract
168169 Elm.Compiler.Version
@@ -232,7 +233,7 @@ Executable elm
232233 Build-depends:
233234 ansi-terminal >= 0.8 && < 0.9,
234235 ansi-wl-pprint >= 0.6.8 && < 0.7,
235− base >=4.8 && <5,
236+ base >=4.11 && <5,
236237 binary >= 0.8 && < 0.9,
237238 bytestring >= 0.9 && < 0.11,
238239 containers >= 0.5.8.2 && < 0.6,
@@ -240,13 +241,13 @@ Executable elm
240241 edit-distance >= 0.2 && < 0.3,
241242 file-embed,
242243 filepath >= 1 && < 2.0,
243− ghc-prim,
244+ ghc-prim >= 0.5.2,
244245 haskeline,
245246 HTTP >= 4000.2.5 && < 4000.4,
246247 http-client >= 0.5 && < 0.6,
247248 http-client-tls >= 0.3 && < 0.4,
248249 http-types >= 0.9 && < 1.0,
249− language-glsl >= 0.0.2 && < 0.3,
250+ language-glsl >= 0.3,
250251 logict,
251252 mtl >= 2.2.1 && < 3,
252253 network >= 2.4 && < 2.7,