shithub: MicroHs

Download patch

ref: 50a42f8f9a96bac7632b8a71dfba15f339ff54bb
parent: ff0024a5a68e0eb3fb4b97f289f4bf9489e98175
author: Lennart Augustsson <lennart@augustsson.net>
date: Thu Nov 2 09:34:30 EDT 2023

Make it build

--- a/MicroHs.cabal
+++ b/MicroHs.cabal
@@ -1,6 +1,6 @@
 cabal-version:       3.6
 name:                MicroHs
-version:             0.2
+version:             0.5
 synopsis:            A compiler for a small subset of Haskell
 license:             Apache-2.0
 license-file:        LICENSE
@@ -36,7 +36,7 @@
 executable mhs
   default-language:    Haskell98
   hs-source-dirs:      src ghc
-  ghc-options:         -Wall -F -pgmF ./Tools/convertX.sh -main-is MicroHs.Main
+  ghc-options:         -Wall -Wno-unrecognised-warning-flags -Wno-x-partial -F -pgmF ./Tools/convertX.sh -main-is MicroHs.Main
   main-is:             MicroHs/Main.hs
   default-extensions:  ScopedTypeVariables QualifiedDo PatternGuards TupleSections
   other-modules:       MicroHs.Compile
@@ -65,7 +65,7 @@
   build-depends:       base         >= 4.10 && < 4.20,
                        containers   >= 0.5 && < 0.8,
                        deepseq      >= 1.1 && < 1.6,
-                       ghc-prim     >= 0.5 && < 0.11,
+                       ghc-prim     >= 0.5 && < 0.12,
                        mtl          >= 2.0 && < 2.4,
                        time         >= 1.1 && < 1.15,
                        pretty       >= 1.0 && < 1.2
--