summaryrefslogtreecommitdiff
path: root/libraries/ghc-prim
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-02-01 22:48:01 -0500
committerBen Gamari <ben@smart-cactus.org>2017-02-01 23:37:27 -0500
commit5cb5b7a505d3cf87b4bdac31acae2a650221d05f (patch)
tree2d94eb35bd95dc3470f9e712c979e44ded7bde23 /libraries/ghc-prim
parentd2b681bbdf8359b1813ea6c895498737eadc5261 (diff)
downloadhaskell-5cb5b7a505d3cf87b4bdac31acae2a650221d05f.tar.gz
base: Derive Enum, Bounded for VecCount, VecElem
Test Plan: Validate Reviewers: RyanGlScott, austin, hvr Reviewed By: RyanGlScott Subscribers: goldfire, RyanGlScott, thomie Differential Revision: https://phabricator.haskell.org/D3059
Diffstat (limited to 'libraries/ghc-prim')
-rw-r--r--libraries/ghc-prim/GHC/Types.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs
index 16a4921316..c913af6fdb 100644
--- a/libraries/ghc-prim/GHC/Types.hs
+++ b/libraries/ghc-prim/GHC/Types.hs
@@ -395,6 +395,7 @@ data VecCount = Vec2
| Vec16
| Vec32
| Vec64
+-- Enum, Bounded instances in GHC.Enum
-- | Element of a SIMD vector type
data VecElem = Int8ElemRep
@@ -407,6 +408,7 @@ data VecElem = Int8ElemRep
| Word64ElemRep
| FloatElemRep
| DoubleElemRep
+-- Enum, Bounded instances in GHC.Enum
{- *********************************************************************
* *