on master help sign in
Fix references to Json modules
commiteaa646f7a8dca654f953df3df4cea8b79c96862b authorEvan Czaplicki <evancz@users.noreply.github.com> dateThu 25 Jan 2018, 22:13 (9 years ago) parentbf63cb8
2 files changed+9−3
src/AST/Module/Name.hs+2−2 src/Elm/Package.hs+7−1
src/AST/Module/Name.hs+2−2
@@ -123,12 +123,12 @@ bitwise = Canonical Pkg.core N.bitwise
123123
124124{-# NOINLINE jsonDecode #-}
125125jsonDecode :: Canonical
126−jsonDecode = Canonical Pkg.core "Json.Decode"
126+jsonDecode = Canonical Pkg.json "Json.Decode"
127127
128128
129129{-# NOINLINE jsonEncode #-}
130130jsonEncode :: Canonical
131−jsonEncode = Canonical Pkg.core "Json.Encode"
131+jsonEncode = Canonical Pkg.json "Json.Encode"
132132
133133
134134
src/Elm/Package.hs+7−1
@@ -7,7 +7,7 @@ module Elm.Package
77 , toString, toText, toUrl, toFilePath
88 , fromText
99 , dummyName, kernel, core
10− , browser, virtualDom, html
10+ , browser, virtualDom, html, json
1111 , webgl, linearAlgebra
1212 , Version(..)
1313 , initialVersion, dummyVersion
@@ -163,6 +163,12 @@ html =
163163 Name "elm-lang" "html"
164164
165165
166+{-# NOINLINE json #-}
167+json :: Name
168+json =
169+ Name "elm-lang" "json"
170+
171+
166172{-# NOINLINE webgl #-}
167173webgl :: Name
168174webgl =