on master help sign in
add standard name for when a value name is needed by the REPL
commitaf36bb994a5fc2cc54c1c979b4fea659d9c73b8a authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 24 Jun 2019, 16:51 (7 years ago) parentf78d6d8
1 file changed+6−1
compiler/src/Data/Name.hs+6−1
compiler/src/Data/Name.hs+6−1
@@ -31,7 +31,7 @@ module Data.Name
3131 , shader, debug, debugger, bitwise, basics
3232 , utils, negate, true, false, value
3333 , node, program, _main, _Main, dollar, identity
34− , replModule
34+ , replModule, replValueToPrint
3535 )
3636 where
3737
@@ -593,3 +593,8 @@ identity = fromChars "identity"
593593{-# NOINLINE replModule #-}
594594replModule :: Name
595595replModule = fromChars "Elm_Repl"
596+
597+
598+{-# NOINLINE replValueToPrint #-}
599+replValueToPrint :: Name
600+replValueToPrint = fromChars "repl_input_value_"