on master help sign in
Add Elm.Name.platform

It is used in a decent number of places in code gen

commit84e60f08bdd34179df40f188026ec261981d10a6 authorEvan Czaplicki <evancz@users.noreply.github.com> dateWed 6 Dec 2017, 16:57 (9 years ago) parent4a4ef72
2 files changed+7−2
src/AST/Module/Name.hs+1−1 src/Elm/Name.hs+6−1
src/AST/Module/Name.hs+1−1
@@ -85,7 +85,7 @@ array = Canonical Pkg.core N.array
8585
8686{-# NOINLINE platform #-}
8787platform :: Canonical
88−platform = Canonical Pkg.core "Platform"
88+platform = Canonical Pkg.core N.platform
8989
9090
9191{-# NOINLINE cmd #-}
src/Elm/Name.hs+6−1
@@ -10,7 +10,7 @@ module Elm.Name
1010 , toCompositeName
1111 , int, float, bool, char, string
1212 , maybe, list, array, tuple
13− , task, router, cmd, sub
13+ , task, router, cmd, sub, platform
1414 , shader, debug, bitwise, basics
1515 , utils, negate, value
1616 , node, program, main, dollar
@@ -132,6 +132,11 @@ sub :: Name
132132sub = "Sub"
133133
134134
135+{-# NOINLINE platform #-}
136+platform :: Name
137+platform = "Platform"
138+
139+
135140{-# NOINLINE shader #-}
136141shader :: Name
137142shader = "Shader"