on master help sign in
Add Elm.Name.platform
84e60f0Evan Czaplicki
src/AST/Module/Name.hs+1−1
@@ -85,7 +85,7 @@ array = Canonical Pkg.core N.array
85
85
86{-# NOINLINE platform #-}
86{-# NOINLINE platform #-}
87platform :: Canonical
87platform :: Canonical
88−platform = Canonical Pkg.core "Platform"
88+platform = Canonical Pkg.core N.platform
89
89
90
90
91{-# NOINLINE cmd #-}
91{-# NOINLINE cmd #-}
src/Elm/Name.hs+6−1
@@ -10,7 +10,7 @@ module Elm.Name
10 , toCompositeName
10 , toCompositeName
11 , int, float, bool, char, string
11 , int, float, bool, char, string
12 , maybe, list, array, tuple
12 , maybe, list, array, tuple
13− , task, router, cmd, sub
13+ , task, router, cmd, sub, platform
14 , shader, debug, bitwise, basics
14 , shader, debug, bitwise, basics
15 , utils, negate, value
15 , utils, negate, value
16 , node, program, main, dollar
16 , node, program, main, dollar
@@ -132,6 +132,11 @@ sub :: Name
132sub = "Sub"
132sub = "Sub"
133
133
134
134
135+{-# NOINLINE platform #-}
136+platform :: Name
137+platform = "Platform"
138+
139+
135{-# NOINLINE shader #-}
140{-# NOINLINE shader #-}
136shader :: Name
141shader :: Name
137shader = "Shader"
142shader = "Shader"