on master help sign in
Fix references to Json modules
eaa646fEvan Czaplicki
src/AST/Module/Name.hs+2−2
@@ -123,12 +123,12 @@ bitwise = Canonical Pkg.core N.bitwise
123
123
124{-# NOINLINE jsonDecode #-}
124{-# NOINLINE jsonDecode #-}
125jsonDecode :: Canonical
125jsonDecode :: Canonical
126−jsonDecode = Canonical Pkg.core "Json.Decode"
126+jsonDecode = Canonical Pkg.json "Json.Decode"
127
127
128
128
129{-# NOINLINE jsonEncode #-}
129{-# NOINLINE jsonEncode #-}
130jsonEncode :: Canonical
130jsonEncode :: Canonical
131−jsonEncode = Canonical Pkg.core "Json.Encode"
131+jsonEncode = Canonical Pkg.json "Json.Encode"
132
132
133
133
134
134
src/Elm/Package.hs+7−1
@@ -7,7 +7,7 @@ module Elm.Package
7 , toString, toText, toUrl, toFilePath
7 , toString, toText, toUrl, toFilePath
8 , fromText
8 , fromText
9 , dummyName, kernel, core
9 , dummyName, kernel, core
10− , browser, virtualDom, html
10+ , browser, virtualDom, html, json
11 , webgl, linearAlgebra
11 , webgl, linearAlgebra
12 , Version(..)
12 , Version(..)
13 , initialVersion, dummyVersion
13 , initialVersion, dummyVersion
@@ -163,6 +163,12 @@ html =
163 Name "elm-lang" "html"
163 Name "elm-lang" "html"
164
164
165
165
166+{-# NOINLINE json #-}
167+json :: Name
168+json =
169+ Name "elm-lang" "json"
170+
171+
166{-# NOINLINE webgl #-}
172{-# NOINLINE webgl #-}
167webgl :: Name
173webgl :: Name
168webgl =
174webgl =