Hide internal modules in the Haddocks.
commit0a3718b07b0f3d8f972717e67edc4bee73bd84bb
authorPranay Sashank <pranaysashank@gmail.com>
dateThu 7 Nov 2019, 07:50 (7 years ago)
parentfa1318e
src/Streamly/Internal/Data/Atomics.hs+2−1
@@ -1,4 +1,5 @@
1−{-# LANGUAGE CPP #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
23
34-- |
45-- Module : Streamly.Internal.Data.Atomics
src/Streamly/Internal/Data/Fold.hs+4−3
@@ -1,10 +1,11 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE BangPatterns #-}
23{-# LANGUAGE CPP #-}
34{-# LANGUAGE ExistentialQuantification #-}
45{-# LANGUAGE FlexibleContexts #-}
5−{-# LANGUAGE RankNTypes #-}
6−{-# LANGUAGE RecordWildCards #-}
7−{-# LANGUAGE ScopedTypeVariables #-}
6+{-# LANGUAGE RankNTypes #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE ScopedTypeVariables #-}
89
910-- |
1011-- Module : Streamly.Internal.Data.Fold
src/Streamly/Internal/Data/Fold/Types.hs+3−2
@@ -1,6 +1,7 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE CPP #-}
2−{-# LANGUAGE ExistentialQuantification #-}
3−{-# LANGUAGE FlexibleContexts #-}
3+{-# LANGUAGE ExistentialQuantification #-}
4+{-# LANGUAGE FlexibleContexts #-}
45
56-- |
67-- Module : Streamly.Internal.Data.Fold.Types
src/Streamly/Internal/Data/List.hs+1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE CPP #-}
23{-# LANGUAGE DeriveTraversable #-}
34{-# LANGUAGE GeneralizedNewtypeDeriving #-}
src/Streamly/Internal/Data/Pipe.hs+4−3
@@ -1,10 +1,11 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE BangPatterns #-}
23{-# LANGUAGE CPP #-}
34{-# LANGUAGE ExistentialQuantification #-}
45{-# LANGUAGE FlexibleContexts #-}
5−{-# LANGUAGE RankNTypes #-}
6−{-# LANGUAGE RecordWildCards #-}
7−{-# LANGUAGE ScopedTypeVariables #-}
6+{-# LANGUAGE RankNTypes #-}
7+{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE ScopedTypeVariables #-}
89
910-- |
1011-- Module : Streamly.Internal.Data.Pipe
src/Streamly/Internal/Data/Pipe/Types.hs+1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE CPP #-}
23{-# LANGUAGE ExistentialQuantification #-}
34
src/Streamly/Internal/Data/SVar.hs+1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE CPP #-}
23{-# LANGUAGE KindSignatures #-}
34{-# LANGUAGE ConstraintKinds #-}
src/Streamly/Internal/Data/Sink.hs+2
@@ -1,3 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
2+
13-- |
24-- Module : Streamly.Internal.Data.Sink
35-- Copyright : (c) 2019 Composewell Technologies
src/Streamly/Internal/Data/Sink/Types.hs+2
@@ -1,3 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
2+
13-- |
24-- Module : Streamly.Internal.Data.Sink.Types
35-- Copyright : (c) 2019 Composewell Technologies
src/Streamly/Internal/Data/Strict.hs+2
@@ -1,3 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
2+
13-- |
24-- Module : Streamly.Internal.Data.Strict
35-- Copyright : (c) 2019 Composewell Technologies
src/Streamly/Internal/Data/Time.hs+2
@@ -1,3 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
2+
13-- |
24-- Module : Streamly.Internal.Data.Time
35-- Copyright : (c) 2017 Harendra Kumar
src/Streamly/Internal/Data/Time/Clock.hsc+7−6
@@ -1,11 +1,12 @@
1−{-# LANGUAGE CPP #-}
2−{-# LANGUAGE DeriveGeneric #-}
3−{-# LANGUAGE GeneralizedNewtypeDeriving #-}
4−{-# LANGUAGE ScopedTypeVariables #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
3+{-# LANGUAGE DeriveGeneric #-}
4+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
5+{-# LANGUAGE ScopedTypeVariables #-}
56
67#if __GLASGOW_HASKELL__ >= 800
7−{-# OPTIONS_GHC -Wno-identities #-}
8−{-# OPTIONS_GHC -Wno-orphans #-}
8+{-# OPTIONS_GHC -Wno-identities #-}
9+{-# OPTIONS_GHC -Wno-orphans #-}
910{-# OPTIONS_GHC -fno-warn-unused-imports #-}
1011#endif
1112
src/Streamly/Internal/Data/Time/Units.hs+2−1
@@ -1,4 +1,5 @@
1−{-# LANGUAGE CPP #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
23{-# LANGUAGE GeneralizedNewtypeDeriving #-}
34{-# LANGUAGE ScopedTypeVariables #-}
45
src/Streamly/Internal/Data/Unfold.hs+5−4
@@ -1,12 +1,13 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE BangPatterns #-}
23{-# LANGUAGE CPP #-}
34{-# LANGUAGE ExistentialQuantification #-}
45{-# LANGUAGE FlexibleContexts #-}
56{-# LANGUAGE PatternSynonyms #-}
6−{-# LANGUAGE RankNTypes #-}
7−{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE ScopedTypeVariables #-}
9−{-# LANGUAGE TupleSections #-}
7+{-# LANGUAGE RankNTypes #-}
8+{-# LANGUAGE RecordWildCards #-}
9+{-# LANGUAGE ScopedTypeVariables #-}
10+{-# LANGUAGE TupleSections #-}
1011
1112#include "inline.hs"
1213
src/Streamly/Internal/Data/Unfold/Types.hs+3−2
@@ -1,6 +1,7 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE CPP #-}
2−{-# LANGUAGE ExistentialQuantification #-}
3−{-# LANGUAGE FlexibleContexts #-}
3+{-# LANGUAGE ExistentialQuantification #-}
4+{-# LANGUAGE FlexibleContexts #-}
45
56-- |
67-- Module : Streamly.Internal.Data.Unfold.Types
src/Streamly/Internal/Data/Unicode/Char.hs+2
@@ -1,4 +1,6 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE FlexibleContexts #-}
3+
24-- |
35-- Module : Streamly.Data.Internal.Unicode.Char
46-- Copyright : (c) 2018 Composewell Technologies
src/Streamly/Internal/Data/Unicode/Stream.hs+2
@@ -1,4 +1,6 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE FlexibleContexts #-}
3+
24-- |
35-- Module : Streamly.Data.Internal.Unicode.Stream
46-- Copyright : (c) 2018 Composewell Technologies
src/Streamly/Internal/FileSystem/File.hs+6−5
@@ -1,9 +1,10 @@
1−{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
3+{-# LANGUAGE BangPatterns #-}
34{-# LANGUAGE FlexibleContexts #-}
4−{-# LANGUAGE MagicHash #-}
5−{-# LANGUAGE RecordWildCards #-}
6−{-# LANGUAGE UnboxedTuples #-}
5+{-# LANGUAGE MagicHash #-}
6+{-# LANGUAGE RecordWildCards #-}
7+{-# LANGUAGE UnboxedTuples #-}
78
89#include "inline.hs"
910
src/Streamly/Internal/FileSystem/Handle.hs+5−4
@@ -1,8 +1,9 @@
1−{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
3−{-# LANGUAGE MagicHash #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
3+{-# LANGUAGE BangPatterns #-}
4+{-# LANGUAGE MagicHash #-}
45{-# LANGUAGE RecordWildCards #-}
5−{-# LANGUAGE UnboxedTuples #-}
6+{-# LANGUAGE UnboxedTuples #-}
67
78#include "inline.hs"
89
src/Streamly/Internal/Memory/Array.hs+6−5
@@ -1,8 +1,9 @@
1−{-# LANGUAGE BangPatterns #-}
2−{-# LANGUAGE CPP #-}
3−{-# LANGUAGE MagicHash #-}
4−{-# LANGUAGE RecordWildCards #-}
5−{-# LANGUAGE UnboxedTuples #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE CPP #-}
4+{-# LANGUAGE MagicHash #-}
5+{-# LANGUAGE RecordWildCards #-}
6+{-# LANGUAGE UnboxedTuples #-}
67{-# LANGUAGE ScopedTypeVariables #-}
78
89#include "inline.hs"
src/Streamly/Internal/Memory/Array/Types.hs+9−8
@@ -1,12 +1,13 @@
1−{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
3+{-# LANGUAGE BangPatterns #-}
34{-# LANGUAGE ExistentialQuantification #-}
4−{-# LANGUAGE MagicHash #-}
5−{-# LANGUAGE RecordWildCards #-}
6−{-# LANGUAGE ScopedTypeVariables #-}
7−{-# LANGUAGE TypeFamilies #-}
8−{-# LANGUAGE UnboxedTuples #-}
9−{-# LANGUAGE FlexibleContexts #-}
5+{-# LANGUAGE MagicHash #-}
6+{-# LANGUAGE RecordWildCards #-}
7+{-# LANGUAGE ScopedTypeVariables #-}
8+{-# LANGUAGE TypeFamilies #-}
9+{-# LANGUAGE UnboxedTuples #-}
10+{-# LANGUAGE FlexibleContexts #-}
1011#include "inline.hs"
1112
1213-- |
src/Streamly/Internal/Memory/ArrayStream.hs+6−5
@@ -1,8 +1,9 @@
1−{-# LANGUAGE BangPatterns #-}
2−{-# LANGUAGE CPP #-}
3−{-# LANGUAGE MagicHash #-}
4−{-# LANGUAGE RecordWildCards #-}
5−{-# LANGUAGE UnboxedTuples #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE CPP #-}
4+{-# LANGUAGE MagicHash #-}
5+{-# LANGUAGE RecordWildCards #-}
6+{-# LANGUAGE UnboxedTuples #-}
67{-# LANGUAGE ScopedTypeVariables #-}
78
89#include "inline.hs"
src/Streamly/Internal/Memory/Unicode/Array.hs+2
@@ -1,4 +1,6 @@
1+{-# OPTIONS_HADDOCK hide #-}
12{-# LANGUAGE FlexibleContexts #-}
3+
24-- |
35-- Module : Streamly.Memory.Internal.Unicode.Array
46-- Copyright : (c) 2018 Composewell Technologies
src/Streamly/Internal/Network/Inet/TCP.hs+6−5
@@ -1,9 +1,10 @@
1−{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
3+{-# LANGUAGE BangPatterns #-}
34{-# LANGUAGE FlexibleContexts #-}
4−{-# LANGUAGE MagicHash #-}
5−{-# LANGUAGE RecordWildCards #-}
6−{-# LANGUAGE UnboxedTuples #-}
5+{-# LANGUAGE MagicHash #-}
6+{-# LANGUAGE RecordWildCards #-}
7+{-# LANGUAGE UnboxedTuples #-}
78
89#include "inline.hs"
910
src/Streamly/Internal/Network/Socket.hs+6−5
@@ -1,9 +1,10 @@
1−{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
3+{-# LANGUAGE BangPatterns #-}
34{-# LANGUAGE FlexibleContexts #-}
4−{-# LANGUAGE MagicHash #-}
5−{-# LANGUAGE RecordWildCards #-}
6−{-# LANGUAGE UnboxedTuples #-}
5+{-# LANGUAGE MagicHash #-}
6+{-# LANGUAGE RecordWildCards #-}
7+{-# LANGUAGE UnboxedTuples #-}
78
89#include "inline.hs"
910
src/Streamly/Internal/Prelude.hs+5−4
@@ -1,9 +1,10 @@
1−{-# LANGUAGE CPP #-}
2−{-# LANGUAGE RankNTypes #-}
3−{-# LANGUAGE FlexibleContexts #-}
1+{-# OPTIONS_HADDOCK hide #-}
2+{-# LANGUAGE CPP #-}
3+{-# LANGUAGE RankNTypes #-}
4+{-# LANGUAGE FlexibleContexts #-}
45
56#if __GLASGOW_HASKELL__ >= 800
6−{-# OPTIONS_GHC -Wno-orphans #-}
7+{-# OPTIONS_GHC -Wno-orphans #-}
78#endif
89
910#include "../Streams/inline.hs"