on master help sign in
Export Stream pattern from StreamD module.
commit72d14d4581f2bac88c1a2500abb126f762a00f73 authorPranay Sashank <pranaysashank@gmail.com> dateTue 3 Dec 2019, 13:35 (7 years ago) parentae2dce8
1 file changed+7−1
src/Streamly/Streams/StreamD.hs+7−1
src/Streamly/Streams/StreamD.hs+7−1
@@ -46,7 +46,13 @@ module Streamly.Streams.StreamD
4646 (
4747 -- * The stream type
4848 Step (..)
49− , Stream (..)
49+
50+#if __GLASGOW_HASKELL__ >= 800
51+ , Stream (Stream, UnStream)
52+#else
53+ , Stream (UnStream)
54+ , pattern Stream
55+#endif
5056
5157 -- * Construction
5258 , nil