packages feed

streamly 0.7.2 → 0.7.3

raw patch · 7 files changed

+26/−18 lines, 7 filesdep ~heapsdep ~primitive

Dependency ranges changed: heaps, primitive

Files

Changelog.md view
@@ -1,3 +1,10 @@+## 0.7.3++### Build Issues++* Fix build issues with `primitive` package version >= 0.7.1.+* Fix build issues on armv7.+ ## 0.7.2  ### Bug Fixes
README.md view
@@ -1,11 +1,6 @@ # Streamly -[![Hackage](https://img.shields.io/hackage/v/streamly.svg?style=flat)](https://hackage.haskell.org/package/streamly) [![Gitter chat](https://badges.gitter.im/composewell/gitter.svg)](https://gitter.im/composewell/streamly)-[![Travis](https://travis-ci.com/composewell/streamly.svg?branch=master)](https://travis-ci.com/composewell/streamly)-[![Appveyor](https://ci.appveyor.com/api/projects/status/ajxg0c79raou9ned?svg=true)](https://ci.appveyor.com/project/harendra-kumar/streamly)-[![CircleCI](https://circleci.com/gh/composewell/streamly/tree/master.svg?style=svg)](https://circleci.com/gh/composewell/streamly/tree/master)-[![Coverage Status](https://coveralls.io/repos/composewell/streamly/badge.svg?branch=master&service=github)](https://coveralls.io/github/composewell/streamly?branch=master)  ## Learning Materials 
configure view
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles.-# Generated by GNU Autoconf 2.69 for streamly 0.7.2.+# Generated by GNU Autoconf 2.69 for streamly 0.7.3. # # Report bugs to <streamly@composewell.com>. #@@ -580,8 +580,8 @@ # Identity of this package. PACKAGE_NAME='streamly' PACKAGE_TARNAME='streamly'-PACKAGE_VERSION='0.7.2'-PACKAGE_STRING='streamly 0.7.2'+PACKAGE_VERSION='0.7.3'+PACKAGE_STRING='streamly 0.7.3' PACKAGE_BUGREPORT='streamly@composewell.com' PACKAGE_URL='' @@ -1236,7 +1236,7 @@   # Omit some internal or obsolete options to make the list less imposing.   # This message is too long to be a string in the A/UX 3.1 sh.   cat <<_ACEOF-\`configure' configures streamly 0.7.2 to adapt to many kinds of systems.+\`configure' configures streamly 0.7.3 to adapt to many kinds of systems.  Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1298,7 +1298,7 @@  if test -n "$ac_init_help"; then   case $ac_init_help in-     short | recursive ) echo "Configuration of streamly 0.7.2:";;+     short | recursive ) echo "Configuration of streamly 0.7.3:";;    esac   cat <<\_ACEOF @@ -1383,7 +1383,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then   cat <<\_ACEOF-streamly configure 0.7.2+streamly configure 0.7.3 generated by GNU Autoconf 2.69  Copyright (C) 2012 Free Software Foundation, Inc.@@ -1752,7 +1752,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by streamly $as_me 0.7.2, which was+It was created by streamly $as_me 0.7.3, which was generated by GNU Autoconf 2.69.  Invocation command line was    $ $0 $@@@ -3830,7 +3830,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log="-This file was extended by streamly $as_me 0.7.2, which was+This file was extended by streamly $as_me 0.7.3, which was generated by GNU Autoconf 2.69.  Invocation command line was    CONFIG_FILES    = $CONFIG_FILES@@ -3883,7 +3883,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\-streamly config.status 0.7.2+streamly config.status 0.7.3 configured by $0, generated by GNU Autoconf 2.69,   with options \\"\$ac_cs_config\\" 
configure.ac view
@@ -3,7 +3,7 @@ # See https://www.gnu.org/software/autoconf/manual/autoconf.html for help on # the macros used in this file. -AC_INIT([streamly], [0.7.2], [streamly@composewell.com], [streamly])+AC_INIT([streamly], [0.7.3], [streamly@composewell.com], [streamly])  # To suppress "WARNING: unrecognized options: --with-compiler" AC_ARG_WITH([compiler], [GHC])
src/Streamly/FileSystem/IOVec.hsc view
@@ -3,6 +3,8 @@ {-# LANGUAGE CApiFFI #-} {-# LANGUAGE ScopedTypeVariables #-} +#include "MachDeps.h"+ -- | -- Module      : Streamly.FileSystem.IOVec -- Copyright   : (c) 2019 Composewell Technologies@@ -23,7 +25,7 @@ where  import Data.Word (Word8)-#if defined(i386_HOST_ARCH)+#if (WORD_SIZE_IN_BITS == 32) import Data.Word (Word32) #else import Data.Word (Word64)@@ -41,7 +43,7 @@  data IOVec = IOVec   { iovBase :: {-# UNPACK #-} !(Ptr Word8)-#if defined(i386_HOST_ARCH)+#if (WORD_SIZE_IN_BITS == 32)   , iovLen  :: {-# UNPACK #-} !Word32 #else   , iovLen  :: {-# UNPACK #-} !Word64
src/Streamly/Internal/Data/Array.hs view
@@ -47,7 +47,9 @@ where  import Prelude hiding (foldr, length, read)+#if !MIN_VERSION_primitive(0,7,1) import Control.DeepSeq (NFData(..))+#endif import Control.Monad (when) import Control.Monad.IO.Class (liftIO, MonadIO) import GHC.IO (unsafePerformIO)@@ -160,9 +162,11 @@ fromList :: [a] -> Array a fromList xs = unsafePerformIO $ fromStreamD $ D.fromList xs +#if !MIN_VERSION_primitive(0,7,1) instance NFData a => NFData (Array a) where     {-# INLINE rnf #-}     rnf = foldl' (\_ x -> rnf x) ()+#endif  {-# INLINE fromStreamN #-} fromStreamN :: MonadIO m => Int -> SerialT m a -> m (Array a)
streamly.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.2 name:               streamly-version:            0.7.2+version:            0.7.3 synopsis:           Beautiful Streaming, Concurrent and Reactive Composition description:   Streamly is a framework for writing programs in a high level, declarative