Commit f5dee983 authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Replace Rank2Types with RankNTypes

parent 6f32757e
{-# LANGUAGE Unsafe #-} {-# LANGUAGE Unsafe #-}
{-# LANGUAGE CPP, MagicHash, UnboxedTuples, Rank2Types #-} {-# LANGUAGE CPP, MagicHash, UnboxedTuples, RankNTypes #-}
{-# OPTIONS_HADDOCK hide #-} {-# OPTIONS_HADDOCK hide #-}
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
......
{-# LANGUAGE Trustworthy #-} {-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP, Rank2Types, ScopedTypeVariables #-} {-# LANGUAGE CPP, RankNTypes, ScopedTypeVariables #-}
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
-- | -- |
......
...@@ -70,7 +70,7 @@ Other Prelude modules are much easier with fewer complex dependencies. ...@@ -70,7 +70,7 @@ Other Prelude modules are much easier with fewer complex dependencies.
, MagicHash , MagicHash
, UnboxedTuples , UnboxedTuples
, ExistentialQuantification , ExistentialQuantification
, Rank2Types , RankNTypes
#-} #-}
-- -fno-warn-orphans is needed for things like: -- -fno-warn-orphans is needed for things like:
-- Orphan rule: "x# -# x#" ALWAYS forall x# :: Int# -# x# x# = 0 -- Orphan rule: "x# -# x#" ALWAYS forall x# :: Int# -# x# x# = 0
......
{-# LANGUAGE Trustworthy #-} {-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP {-# LANGUAGE CPP
, NoImplicitPrelude , NoImplicitPrelude
, Rank2Types , RankNTypes
, ExistentialQuantification , ExistentialQuantification
#-} #-}
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
, BangPatterns , BangPatterns
, PatternGuards , PatternGuards
, NondecreasingIndentation , NondecreasingIndentation
, Rank2Types , RankNTypes
#-} #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-} {-# OPTIONS_GHC -fno-warn-unused-matches #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-} {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
......
\begin{code} \begin{code}
{-# LANGUAGE Unsafe #-} {-# LANGUAGE Unsafe #-}
{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples, Rank2Types #-} {-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples, RankNTypes #-}
{-# OPTIONS_HADDOCK hide #-} {-# OPTIONS_HADDOCK hide #-}
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
-- | -- |
......
{-# LANGUAGE Trustworthy #-} {-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP, NoImplicitPrelude #-} {-# LANGUAGE CPP, NoImplicitPrelude #-}
#ifndef __NHC__ #ifndef __NHC__
{-# LANGUAGE Rank2Types #-} {-# LANGUAGE RankNTypes #-}
#endif #endif
#ifdef __GLASGOW_HASKELL__ #ifdef __GLASGOW_HASKELL__
{-# LANGUAGE MagicHash #-} {-# LANGUAGE MagicHash #-}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment