Typo
[packages/base.git] / Data / Coerce.hs
1 {-# LANGUAGE Unsafe #-}
2 {-# LANGUAGE DeriveDataTypeable #-}
3 {-# LANGUAGE StandaloneDeriving #-}
4
5 -----------------------------------------------------------------------------
6 -- |
7 -- Module : Data.Coerce
8 -- Copyright : (c) The University of Glasgow 2001
9 -- License : BSD-style (see the file libraries/base/LICENSE)
10 --
11 -- Maintainer : libraries@haskell.org
12 -- Stability : provisional
13 -- Portability : portable
14 --
15 -- Safe coercions between data types.
16 --
17 -- More in-depth information can be found on the
18 -- <https://ghc.haskell.org/trac/ghc/wiki/Roles Roles wiki page>
19 --
20 -- /Since: 4.7.0.0/
21 -----------------------------------------------------------------------------
22
23 module Data.Coerce
24 ( -- * Safe coercions
25 coerce, Coercible,
26 ) where
27 import GHC.Prim (coerce)
28 import GHC.Types (Coercible)