ref: f48be7cef68a89d5daa7a176ac27a87c74548a2e
parent: 2f3ccd459aedf6d03eaee5f77d982cbab4c23396
author: Lennart Augustsson <lennart@augustsson.net>
date: Sun Oct 29 16:02:24 EDT 2023
Minor fix.
--- a/src/MicroHs/TypeCheck.hs
+++ b/src/MicroHs/TypeCheck.hs
@@ -1490,7 +1490,7 @@
LInt _ -> lit (tConI loc "Primitives.Int")
LDouble _ -> lit (tConI loc "Primitives.Double")
LChar _ -> lit (tConI loc "Primitives.Char")
- LStr _ -> lit (tApp (tConI loc "Data.List.[]") (tConI loc "Primitives.Char"))
+ LStr _ -> lit (tApp (tList loc) (tConI loc "Primitives.Char"))
LPrim _ -> newUVar T.>>= lit -- pretend it is anything
LForImp _ -> impossible
--
⑨