ref: 2c5c10e4e1abf275b0caa7dedea3e92cdc8a6b54
parent: 35c978b4814e9e8f22d7d9027a0c73f7125b0af1
author: Lennart Augustsson <lennart@augustsson.net>
date: Thu Sep 19 12:58:30 EDT 2024
Add missing '->' in isConIdent.
--- a/src/MicroHs/Ident.hs
+++ b/src/MicroHs/Ident.hs
@@ -130,7 +130,7 @@
isConIdent :: Ident -> Bool
isConIdent i@(Ident _ t) =
let c = headIdent i
- in isUpper c || c == ':' || c == ',' || t == pack "[]" || t == pack "()"
+ in isUpper c || c == ':' || c == ',' || t == pack "[]" || t == pack "()" || t == pack "->"
isOperChar :: Char -> Bool
isOperChar '@' = True
--
⑨