on master help sign in
Hide internal modules in the Haddocks.
0a3718bPranay Sashank
src/Streamly/Internal/Data/Atomics.hs+2−1
@@ -1,4 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2
3
3-- |
4-- |
4-- Module : Streamly.Internal.Data.Atomics
5-- Module : Streamly.Internal.Data.Atomics
src/Streamly/Internal/Data/Fold.hs+4−3
@@ -1,10 +1,11 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE BangPatterns #-}
2{-# LANGUAGE BangPatterns #-}
2{-# LANGUAGE CPP #-}
3{-# LANGUAGE CPP #-}
3{-# LANGUAGE ExistentialQuantification #-}
4{-# LANGUAGE ExistentialQuantification #-}
4{-# LANGUAGE FlexibleContexts #-}
5{-# LANGUAGE FlexibleContexts #-}
5−{-# LANGUAGE RankNTypes #-}
6+{-# LANGUAGE RankNTypes #-}
6−{-# LANGUAGE RecordWildCards #-}
7+{-# LANGUAGE RecordWildCards #-}
7−{-# LANGUAGE ScopedTypeVariables #-}
8+{-# LANGUAGE ScopedTypeVariables #-}
8
9
9-- |
10-- |
10-- Module : Streamly.Internal.Data.Fold
11-- Module : Streamly.Internal.Data.Fold
src/Streamly/Internal/Data/Fold/Types.hs+3−2
@@ -1,6 +1,7 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE CPP #-}
2−{-# LANGUAGE ExistentialQuantification #-}
3+{-# LANGUAGE ExistentialQuantification #-}
3−{-# LANGUAGE FlexibleContexts #-}
4+{-# LANGUAGE FlexibleContexts #-}
4
5
5-- |
6-- |
6-- Module : Streamly.Internal.Data.Fold.Types
7-- Module : Streamly.Internal.Data.Fold.Types
src/Streamly/Internal/Data/List.hs+1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE CPP #-}
2{-# LANGUAGE DeriveTraversable #-}
3{-# LANGUAGE DeriveTraversable #-}
3{-# LANGUAGE GeneralizedNewtypeDeriving #-}
4{-# LANGUAGE GeneralizedNewtypeDeriving #-}
src/Streamly/Internal/Data/Pipe.hs+4−3
@@ -1,10 +1,11 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE BangPatterns #-}
2{-# LANGUAGE BangPatterns #-}
2{-# LANGUAGE CPP #-}
3{-# LANGUAGE CPP #-}
3{-# LANGUAGE ExistentialQuantification #-}
4{-# LANGUAGE ExistentialQuantification #-}
4{-# LANGUAGE FlexibleContexts #-}
5{-# LANGUAGE FlexibleContexts #-}
5−{-# LANGUAGE RankNTypes #-}
6+{-# LANGUAGE RankNTypes #-}
6−{-# LANGUAGE RecordWildCards #-}
7+{-# LANGUAGE RecordWildCards #-}
7−{-# LANGUAGE ScopedTypeVariables #-}
8+{-# LANGUAGE ScopedTypeVariables #-}
8
9
9-- |
10-- |
10-- Module : Streamly.Internal.Data.Pipe
11-- Module : Streamly.Internal.Data.Pipe
src/Streamly/Internal/Data/Pipe/Types.hs+1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE CPP #-}
2{-# LANGUAGE ExistentialQuantification #-}
3{-# LANGUAGE ExistentialQuantification #-}
3
4
src/Streamly/Internal/Data/SVar.hs+1
@@ -1,3 +1,4 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE CPP #-}
2{-# LANGUAGE KindSignatures #-}
3{-# LANGUAGE KindSignatures #-}
3{-# LANGUAGE ConstraintKinds #-}
4{-# LANGUAGE ConstraintKinds #-}
src/Streamly/Internal/Data/Sink.hs+2
@@ -1,3 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
2+
1-- |
3-- |
2-- Module : Streamly.Internal.Data.Sink
4-- Module : Streamly.Internal.Data.Sink
3-- Copyright : (c) 2019 Composewell Technologies
5-- Copyright : (c) 2019 Composewell Technologies
src/Streamly/Internal/Data/Sink/Types.hs+2
@@ -1,3 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
2+
1-- |
3-- |
2-- Module : Streamly.Internal.Data.Sink.Types
4-- Module : Streamly.Internal.Data.Sink.Types
3-- Copyright : (c) 2019 Composewell Technologies
5-- Copyright : (c) 2019 Composewell Technologies
src/Streamly/Internal/Data/Strict.hs+2
@@ -1,3 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
2+
1-- |
3-- |
2-- Module : Streamly.Internal.Data.Strict
4-- Module : Streamly.Internal.Data.Strict
3-- Copyright : (c) 2019 Composewell Technologies
5-- Copyright : (c) 2019 Composewell Technologies
src/Streamly/Internal/Data/Time.hs+2
@@ -1,3 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
2+
1-- |
3-- |
2-- Module : Streamly.Internal.Data.Time
4-- Module : Streamly.Internal.Data.Time
3-- Copyright : (c) 2017 Harendra Kumar
5-- Copyright : (c) 2017 Harendra Kumar
src/Streamly/Internal/Data/Time/Clock.hsc+7−6
@@ -1,11 +1,12 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2−{-# LANGUAGE DeriveGeneric #-}
3+{-# LANGUAGE DeriveGeneric #-}
3−{-# LANGUAGE GeneralizedNewtypeDeriving #-}
4+{-# LANGUAGE GeneralizedNewtypeDeriving #-}
4−{-# LANGUAGE ScopedTypeVariables #-}
5+{-# LANGUAGE ScopedTypeVariables #-}
5
6
6#if __GLASGOW_HASKELL__ >= 800
7#if __GLASGOW_HASKELL__ >= 800
7−{-# OPTIONS_GHC -Wno-identities #-}
8+{-# OPTIONS_GHC -Wno-identities #-}
8−{-# OPTIONS_GHC -Wno-orphans #-}
9+{-# OPTIONS_GHC -Wno-orphans #-}
9{-# OPTIONS_GHC -fno-warn-unused-imports #-}
10{-# OPTIONS_GHC -fno-warn-unused-imports #-}
10#endif
11#endif
11
12
src/Streamly/Internal/Data/Time/Units.hs+2−1
@@ -1,4 +1,5 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2{-# LANGUAGE GeneralizedNewtypeDeriving #-}
3{-# LANGUAGE GeneralizedNewtypeDeriving #-}
3{-# LANGUAGE ScopedTypeVariables #-}
4{-# LANGUAGE ScopedTypeVariables #-}
4
5
src/Streamly/Internal/Data/Unfold.hs+5−4
@@ -1,12 +1,13 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE BangPatterns #-}
2{-# LANGUAGE BangPatterns #-}
2{-# LANGUAGE CPP #-}
3{-# LANGUAGE CPP #-}
3{-# LANGUAGE ExistentialQuantification #-}
4{-# LANGUAGE ExistentialQuantification #-}
4{-# LANGUAGE FlexibleContexts #-}
5{-# LANGUAGE FlexibleContexts #-}
5{-# LANGUAGE PatternSynonyms #-}
6{-# LANGUAGE PatternSynonyms #-}
6−{-# LANGUAGE RankNTypes #-}
7+{-# LANGUAGE RankNTypes #-}
7−{-# LANGUAGE RecordWildCards #-}
8+{-# LANGUAGE RecordWildCards #-}
8−{-# LANGUAGE ScopedTypeVariables #-}
9+{-# LANGUAGE ScopedTypeVariables #-}
9−{-# LANGUAGE TupleSections #-}
10+{-# LANGUAGE TupleSections #-}
10
11
11#include "inline.hs"
12#include "inline.hs"
12
13
src/Streamly/Internal/Data/Unfold/Types.hs+3−2
@@ -1,6 +1,7 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE CPP #-}
2{-# LANGUAGE CPP #-}
2−{-# LANGUAGE ExistentialQuantification #-}
3+{-# LANGUAGE ExistentialQuantification #-}
3−{-# LANGUAGE FlexibleContexts #-}
4+{-# LANGUAGE FlexibleContexts #-}
4
5
5-- |
6-- |
6-- Module : Streamly.Internal.Data.Unfold.Types
7-- Module : Streamly.Internal.Data.Unfold.Types
src/Streamly/Internal/Data/Unicode/Char.hs+2
@@ -1,4 +1,6 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE FlexibleContexts #-}
2{-# LANGUAGE FlexibleContexts #-}
3+
2-- |
4-- |
3-- Module : Streamly.Data.Internal.Unicode.Char
5-- Module : Streamly.Data.Internal.Unicode.Char
4-- Copyright : (c) 2018 Composewell Technologies
6-- Copyright : (c) 2018 Composewell Technologies
src/Streamly/Internal/Data/Unicode/Stream.hs+2
@@ -1,4 +1,6 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE FlexibleContexts #-}
2{-# LANGUAGE FlexibleContexts #-}
3+
2-- |
4-- |
3-- Module : Streamly.Data.Internal.Unicode.Stream
5-- Module : Streamly.Data.Internal.Unicode.Stream
4-- Copyright : (c) 2018 Composewell Technologies
6-- Copyright : (c) 2018 Composewell Technologies
src/Streamly/Internal/FileSystem/File.hs+6−5
@@ -1,9 +1,10 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE BangPatterns #-}
3{-# LANGUAGE FlexibleContexts #-}
4{-# LANGUAGE FlexibleContexts #-}
4−{-# LANGUAGE MagicHash #-}
5+{-# LANGUAGE MagicHash #-}
5−{-# LANGUAGE RecordWildCards #-}
6+{-# LANGUAGE RecordWildCards #-}
6−{-# LANGUAGE UnboxedTuples #-}
7+{-# LANGUAGE UnboxedTuples #-}
7
8
8#include "inline.hs"
9#include "inline.hs"
9
10
src/Streamly/Internal/FileSystem/Handle.hs+5−4
@@ -1,8 +1,9 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE BangPatterns #-}
3−{-# LANGUAGE MagicHash #-}
4+{-# LANGUAGE MagicHash #-}
4{-# LANGUAGE RecordWildCards #-}
5{-# LANGUAGE RecordWildCards #-}
5−{-# LANGUAGE UnboxedTuples #-}
6+{-# LANGUAGE UnboxedTuples #-}
6
7
7#include "inline.hs"
8#include "inline.hs"
8
9
src/Streamly/Internal/Memory/Array.hs+6−5
@@ -1,8 +1,9 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE BangPatterns #-}
2+{-# LANGUAGE BangPatterns #-}
2−{-# LANGUAGE CPP #-}
3+{-# LANGUAGE CPP #-}
3−{-# LANGUAGE MagicHash #-}
4+{-# LANGUAGE MagicHash #-}
4−{-# LANGUAGE RecordWildCards #-}
5+{-# LANGUAGE RecordWildCards #-}
5−{-# LANGUAGE UnboxedTuples #-}
6+{-# LANGUAGE UnboxedTuples #-}
6{-# LANGUAGE ScopedTypeVariables #-}
7{-# LANGUAGE ScopedTypeVariables #-}
7
8
8#include "inline.hs"
9#include "inline.hs"
src/Streamly/Internal/Memory/Array/Types.hs+9−8
@@ -1,12 +1,13 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE BangPatterns #-}
3{-# LANGUAGE ExistentialQuantification #-}
4{-# LANGUAGE ExistentialQuantification #-}
4−{-# LANGUAGE MagicHash #-}
5+{-# LANGUAGE MagicHash #-}
5−{-# LANGUAGE RecordWildCards #-}
6+{-# LANGUAGE RecordWildCards #-}
6−{-# LANGUAGE ScopedTypeVariables #-}
7+{-# LANGUAGE ScopedTypeVariables #-}
7−{-# LANGUAGE TypeFamilies #-}
8+{-# LANGUAGE TypeFamilies #-}
8−{-# LANGUAGE UnboxedTuples #-}
9+{-# LANGUAGE UnboxedTuples #-}
9−{-# LANGUAGE FlexibleContexts #-}
10+{-# LANGUAGE FlexibleContexts #-}
10#include "inline.hs"
11#include "inline.hs"
11
12
12-- |
13-- |
src/Streamly/Internal/Memory/ArrayStream.hs+6−5
@@ -1,8 +1,9 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE BangPatterns #-}
2+{-# LANGUAGE BangPatterns #-}
2−{-# LANGUAGE CPP #-}
3+{-# LANGUAGE CPP #-}
3−{-# LANGUAGE MagicHash #-}
4+{-# LANGUAGE MagicHash #-}
4−{-# LANGUAGE RecordWildCards #-}
5+{-# LANGUAGE RecordWildCards #-}
5−{-# LANGUAGE UnboxedTuples #-}
6+{-# LANGUAGE UnboxedTuples #-}
6{-# LANGUAGE ScopedTypeVariables #-}
7{-# LANGUAGE ScopedTypeVariables #-}
7
8
8#include "inline.hs"
9#include "inline.hs"
src/Streamly/Internal/Memory/Unicode/Array.hs+2
@@ -1,4 +1,6 @@
1+{-# OPTIONS_HADDOCK hide #-}
1{-# LANGUAGE FlexibleContexts #-}
2{-# LANGUAGE FlexibleContexts #-}
3+
2-- |
4-- |
3-- Module : Streamly.Memory.Internal.Unicode.Array
5-- Module : Streamly.Memory.Internal.Unicode.Array
4-- Copyright : (c) 2018 Composewell Technologies
6-- Copyright : (c) 2018 Composewell Technologies
src/Streamly/Internal/Network/Inet/TCP.hs+6−5
@@ -1,9 +1,10 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE BangPatterns #-}
3{-# LANGUAGE FlexibleContexts #-}
4{-# LANGUAGE FlexibleContexts #-}
4−{-# LANGUAGE MagicHash #-}
5+{-# LANGUAGE MagicHash #-}
5−{-# LANGUAGE RecordWildCards #-}
6+{-# LANGUAGE RecordWildCards #-}
6−{-# LANGUAGE UnboxedTuples #-}
7+{-# LANGUAGE UnboxedTuples #-}
7
8
8#include "inline.hs"
9#include "inline.hs"
9
10
src/Streamly/Internal/Network/Socket.hs+6−5
@@ -1,9 +1,10 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2−{-# LANGUAGE BangPatterns #-}
3+{-# LANGUAGE BangPatterns #-}
3{-# LANGUAGE FlexibleContexts #-}
4{-# LANGUAGE FlexibleContexts #-}
4−{-# LANGUAGE MagicHash #-}
5+{-# LANGUAGE MagicHash #-}
5−{-# LANGUAGE RecordWildCards #-}
6+{-# LANGUAGE RecordWildCards #-}
6−{-# LANGUAGE UnboxedTuples #-}
7+{-# LANGUAGE UnboxedTuples #-}
7
8
8#include "inline.hs"
9#include "inline.hs"
9
10
src/Streamly/Internal/Prelude.hs+5−4
@@ -1,9 +1,10 @@
1+{-# OPTIONS_HADDOCK hide #-}
1−{-# LANGUAGE CPP #-}
2+{-# LANGUAGE CPP #-}
2−{-# LANGUAGE RankNTypes #-}
3+{-# LANGUAGE RankNTypes #-}
3−{-# LANGUAGE FlexibleContexts #-}
4+{-# LANGUAGE FlexibleContexts #-}
4
5
5#if __GLASGOW_HASKELL__ >= 800
6#if __GLASGOW_HASKELL__ >= 800
6−{-# OPTIONS_GHC -Wno-orphans #-}
7+{-# OPTIONS_GHC -Wno-orphans #-}
7#endif
8#endif
8
9
9#include "../Streams/inline.hs"
10#include "../Streams/inline.hs"