Commit 679d2c36 authored by simonpj@microsoft.com's avatar simonpj@microsoft.com

Add LANGUAGE BangPatterns to modules that use bang patterns

parent cd5e82ee
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
-----------------------------------------------------------------------------
-- |
......
......@@ -62,6 +62,7 @@ GHC.Float Classes: Floating, RealFloat
Other Prelude modules are much easier with fewer complex dependencies.
\begin{code}
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
-- -fno-warn-orphans is needed for things like:
-- Orphan rule: "x# -# x#" ALWAYS forall x# :: Int# -# x# x# = 0
......
\begin{code}
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
{-# OPTIONS_HADDOCK not-home #-}
......
\begin{code}
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
......
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
......
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
......
\begin{code}
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
......
\begin{code}
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
......
{-# LANGUAGE BangPatterns #-}
{-# OPTIONS_GHC -XNoImplicitPrelude #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
......
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE ForeignFunctionInterface #-}
module System.Event.Clock (getCurrentTime) where
......
{-# LANGUAGE CPP, ForeignFunctionInterface, NoImplicitPrelude,
ScopedTypeVariables #-}
ScopedTypeVariables, BangPatterns #-}
module System.Event.Control
(
......
{-# LANGUAGE ForeignFunctionInterface, GeneralizedNewtypeDeriving,
NoImplicitPrelude #-}
NoImplicitPrelude, BangPatterns #-}
--
-- | A binding to the epoll I/O event notification facility
......
{-# LANGUAGE ForeignFunctionInterface, GeneralizedNewtypeDeriving,
NoImplicitPrelude #-}
NoImplicitPrelude, BangPatterns #-}
module System.Event.Poll
(
......
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