From a5f7f9214258946c4f4ca88c8a467138ae46f50d Mon Sep 17 00:00:00 2001 From: Eric Mertens Date: Thu, 19 Sep 2024 14:27:27 -0700 Subject: [PATCH] allow happy 2.0 --- config-value.cabal | 2 +- src/Config/Number.hs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config-value.cabal b/config-value.cabal index 295ded9..0c43825 100644 --- a/config-value.cabal +++ b/config-value.cabal @@ -48,7 +48,7 @@ library build-tool-depends: alex:alex >= 3.2, - happy:happy >= 1.19 && <1.21, + happy:happy >= 1.19 && <2.1, hs-source-dirs: src default-language: Haskell2010 diff --git a/src/Config/Number.hs b/src/Config/Number.hs index c89023c..c207233 100644 --- a/src/Config/Number.hs +++ b/src/Config/Number.hs @@ -42,8 +42,7 @@ data Number = MkNumber } deriving (Eq, Ord, Read, Show, Data, Generic) --- | Radix used for a number. Some radix modes support an --- exponent. +-- | Radix used for a number. Some radix modes support an exponent. data Radix = Radix2 -- ^ binary, base 2 | Radix8 -- ^ octal, base 8