shithub: MicroHs

Download patch

ref: 6ee5b5e8428ca78ea1d5a675fb34ccc5b36ef680
parent: 7f952c8f7f08adf3242fe8a3ef2300772a6099b6
author: Lennart Augustsson <lennart@augustsson.net>
date: Thu Jan 9 19:35:56 EST 2025

Remove some junk foralls.

--- a/lib/Primitives.hs
+++ b/lib/Primitives.hs
@@ -179,13 +179,13 @@
 --primEqual  = primitive "equal"
 
 -- Works for Int, Char, String
-primStringCompare :: forall a . [Char] -> [Char] -> Ordering
+primStringCompare :: [Char] -> [Char] -> Ordering
 primStringCompare  = primitive "scmp"
-primIntCompare :: forall a . Int -> Int -> Ordering
+primIntCompare :: Int -> Int -> Ordering
 primIntCompare  = primitive "icmp"
-primCharCompare :: forall a . Char -> Char -> Ordering
+primCharCompare :: Char -> Char -> Ordering
 primCharCompare  = primitive "icmp"
-primWordCompare :: forall a . Word -> Word -> Ordering
+primWordCompare :: Word -> Word -> Ordering
 primWordCompare  = primitive "ucmp"
 
 primStringEQ  :: [Char] -> [Char] -> Bool