summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-07-23 19:47:29 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-07-25 00:45:08 -0400
commit6e2db34bdfead7ad309d8fd01d4423554650cf4c (patch)
treede910e4e0da8653001d1407c22063a63b9879b0a
parent9e2930c3e18235fda2b8b468cb0fefbe7d65f879 (diff)
downloadhaskell-6e2db34bdfead7ad309d8fd01d4423554650cf4c.tar.gz
Add accessors to ArchOS
-rw-r--r--libraries/ghc-boot/GHC/Platform/ArchOS.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/ghc-boot/GHC/Platform/ArchOS.hs b/libraries/ghc-boot/GHC/Platform/ArchOS.hs
index bd3ef5f4cc..2238becb0b 100644
--- a/libraries/ghc-boot/GHC/Platform/ArchOS.hs
+++ b/libraries/ghc-boot/GHC/Platform/ArchOS.hs
@@ -20,7 +20,10 @@ import Prelude -- See Note [Why do we import Prelude here?]
-- | Platform architecture and OS.
data ArchOS
- = ArchOS Arch OS
+ = ArchOS
+ { archOS_arch :: Arch
+ , archOS_OS :: OS
+ }
deriving (Read, Show, Eq)
-- | Architectures