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

Replace Rank2Types with RankNTypes

parent 6f32757e
{-# LANGUAGE Unsafe #-}
{-# LANGUAGE CPP, MagicHash, UnboxedTuples, Rank2Types #-}
{-# LANGUAGE CPP, MagicHash, UnboxedTuples, RankNTypes #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
......
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP, Rank2Types, ScopedTypeVariables #-}
{-# LANGUAGE CPP, RankNTypes, ScopedTypeVariables #-}
-----------------------------------------------------------------------------
-- |
......
......@@ -70,7 +70,7 @@ Other Prelude modules are much easier with fewer complex dependencies.
, MagicHash
, UnboxedTuples
, ExistentialQuantification
, Rank2Types
, RankNTypes
#-}
-- -fno-warn-orphans is needed for things like:
-- Orphan rule: "x# -# x#" ALWAYS forall x# :: Int# -# x# x# = 0
......
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP
, NoImplicitPrelude
, Rank2Types
, RankNTypes
, ExistentialQuantification
#-}
......
......@@ -4,7 +4,7 @@
, BangPatterns
, PatternGuards
, NondecreasingIndentation
, Rank2Types
, RankNTypes
#-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
......
\begin{code}
{-# LANGUAGE Unsafe #-}
{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples, Rank2Types #-}
{-# LANGUAGE NoImplicitPrelude, MagicHash, UnboxedTuples, RankNTypes #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
-- |
......
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP, NoImplicitPrelude #-}
#ifndef __NHC__
{-# LANGUAGE Rank2Types #-}
{-# LANGUAGE RankNTypes #-}
#endif
#ifdef __GLASGOW_HASKELL__
{-# 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