stop having custom REPL code in name module
just make the names from [Char] in the REPL code and use fromChars
instead.
commit29c83b83272d84969957bf9a4a63a24b58b4766e
authorEvan Czaplicki <evancz@users.noreply.github.com>
dateFri 21 Jun 2019, 12:00 (7 years ago)
parent7479625
compiler/src/Data/Name.hs−10
@@ -19,7 +19,6 @@ module Data.Name
1919 , isAppendableType
2020 , isCompappendType
2121 , fromVarIndex
22− , fromReplCount
2322 , fromWords
2423 , fromManyNames
2524 , fromTypeVariable
@@ -287,15 +286,6 @@ fromTypeVariableScheme scheme =
287286
288287
289288
290−-- FROM REPL COUNT
291−
292−
293−fromReplCount :: Int -> Name
294−fromReplCount n =
295− Utf8.fromChars ("repl_value_" ++ show n)
296−
297−
298−
299289-- FROM MANY NAMES
300290
301291