Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions other/preface_revised.typ
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ datatype contexts themselves are not removed from the language.
The requirement to support mutually recursive module imports has been lifted:
Implementations are only required to support acyclic module import graphs.

#heading(level: 3, numbering: none)[Expose Additional Modules from Standard Libraries]

The following additional modules are exposed from the standard libraries.

- `Data.Bool`
- `Data.String`
- `Data.Eq`
- `Data.Ord`
- `Data.Enum`
- `Data.Function`
- `Data.Tuple`
- `Data.Either`
- `Text.Read`
- `Text.Show`

#heading(level: 3, numbering: none)[Derived Instances of Ix]

Expand Down
20 changes: 10 additions & 10 deletions stdlib/haskell2010-base.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,21 @@ library
Control.Monad
Data.Array
Data.Bits
Data.Bool
Data.Char
Data.Complex
Data.Either
Data.Enum
Data.Eq
Data.Function
Data.Int
Data.Ix
Data.List
Data.Maybe
Data.Ord
Data.Ratio
Data.String
Data.Tuple
Data.Word
Foreign
Foreign.C
Expand All @@ -44,19 +52,11 @@ library
System.Exit
System.IO
System.IO.Error
Text.Read
Text.Show
other-modules:
Prim
NumHierarchy
Data.Bool
Data.String
Data.Eq
Data.Ord
Data.Enum
Data.Function
Data.Tuple
Data.Either
Text.Read
Text.Show
default-extensions: NoImplicitPrelude
ghc-options: -Wno-missing-methods -Werror=orphans
build-depends:
Expand Down
3 changes: 2 additions & 1 deletion stdlib/src/Data/Bool.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Data.Bool
module Data.Bool where

infixr 3 &&
Expand Down
1 change: 0 additions & 1 deletion stdlib/src/Data/Either.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Data.Either
module Data.Either (Either (Left, Right), either) where
Expand Down
1 change: 0 additions & 1 deletion stdlib/src/Data/Enum.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Data.Enum
module Data.Enum where
Expand Down
3 changes: 2 additions & 1 deletion stdlib/src/Data/Eq.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Data.Eq
module Data.Eq where

import Data.Bool
Expand Down
3 changes: 2 additions & 1 deletion stdlib/src/Data/Function.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Data.Function
module Data.Function
( id,
const,
Expand Down
3 changes: 2 additions & 1 deletion stdlib/src/Data/Ord.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Data.Ord
module Data.Ord where

import Data.Bool
Expand Down
3 changes: 2 additions & 1 deletion stdlib/src/Data/String.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Data.String
module Data.String where

import Prim (Char)
Expand Down
3 changes: 2 additions & 1 deletion stdlib/src/Data/Tuple.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Data.Tuple
module Data.Tuple
( fst,
snd,
Expand Down
3 changes: 2 additions & 1 deletion stdlib/src/Text/Read.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Text.Read
module Text.Read where

import Data.Bool
Expand Down
3 changes: 2 additions & 1 deletion stdlib/src/Text/Show.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{-# OPTIONS_HADDOCK hide #-}
-- |
-- Module: Text.Show
module Text.Show where

import Data.Bool
Expand Down
Loading