on master help sign in
Fix naming bug for List type
commit1d1083600f6887fe79d3502c3c1fc817f5380853 authorEvan Czaplicki <info@elm-lang.org> dateWed 17 Jul 2013, 19:24 (13 years ago) parente852ae2
1 file changed+1−1
compiler/SourceSyntax/Type.hs+1−1
compiler/SourceSyntax/Type.hs+1−1
@@ -21,7 +21,7 @@ recordOf :: [(String,Type)] -> Type
2121recordOf fields = Record (fieldMap fields) EmptyRecord
2222
2323listOf :: Type -> Type
24−listOf t = Data "List" [t]
24+listOf t = Data "_List" [t]
2525
2626tupleOf :: [Type] -> Type
2727tupleOf ts = Data ("_Tuple" ++ show (length ts)) ts