Cabal revisions of foundation-0.0.8
Hackage metadata revisions edit the .cabal file after upload; each diff below is one revision.
revision 1
-Name: foundation-Version: 0.0.8-Synopsis: Alternative prelude with batteries and no dependencies-Description:- A custom prelude with no dependencies apart from base.- .- This package has the following goals:- .- * provide a base like sets of modules that provide a consistent set of features and bugfixes across multiple versions of GHC (unlike base).- .- * provide a better and more efficient prelude than base's prelude.- .- * be self-sufficient: no external dependencies apart from base.- .- * provide better data-types: packed unicode string by default, arrays.- .- * Better numerical classes that better represent mathematical thing (No more all-in-one Num).- .- * Better I/O system with less Lazy IO- .- * Usual partial functions distinguished through type system-License: BSD3-License-file: LICENSE-Copyright: Vincent Hanquez <vincent@snarc.org>-Author: Vincent Hanquez <vincent@snarc.org>-Maintainer: vincent@snarc.org-Category: foundation-Stability: experimental-Build-Type: Simple-Homepage: https://github.com/haskell-foundation/foundation-Bug-Reports: https://github.com/haskell-foundation/foundation/issues-Cabal-Version: >=1.10-tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2-extra-source-files: README.md- cbits/*.h--source-repository head- type: git- location: https://github.com/haskell-foundation/foundation--Flag experimental- Description: Enable building experimental features, known as highly unstable or without good support cross-platform- Default: False- Manual: True--Flag bench-all- Description: Add some comparaison benchmarks against other haskell libraries- Default: False- Manual: True--Flag minimal-deps- Description: Build fully with minimal deps (no criterion, no quickcheck, no doctest)- Default: False- Manual: True--Flag bounds-check- Description: Add extra friendly boundary check for unsafe array operations- Default: False- Manual: True--Flag doctest- Description: Add extra friendly boundary check for unsafe array operations- Default: False- Manual: True--Library- Exposed-modules: Foundation- Foundation.Numerical- Foundation.Array- Foundation.Array.Internal- Foundation.Bits- Foundation.Class.Bifunctor- Foundation.Class.Storable- Foundation.Conduit- Foundation.Conduit.Textual- Foundation.Convertible- Foundation.String- Foundation.String.ASCII- Foundation.String.Read- Foundation.IO- Foundation.IO.FileMap- Foundation.VFS- Foundation.VFS.Path- Foundation.VFS.FilePath- Foundation.VFS.URI- Foundation.Math.Trigonometry- Foundation.Hashing- Foundation.Foreign- Foundation.Collection- Foundation.Primitive- Foundation.List.DList- Foundation.Monad- Foundation.Monad.Reader- Foundation.Monad.State- Foundation.Network.IPv4- Foundation.Network.IPv6- Foundation.System.Info- Foundation.Strict- Foundation.Parser- Foundation.Random- Foundation.Check- Foundation.UUID- Foundation.System.Entropy- Foundation.System.Bindings- Other-modules: Foundation.Boot.Builder- Foundation.Boot.List- Foundation.String.Internal- Foundation.String.UTF8- Foundation.String.Encoding.Encoding- Foundation.String.Encoding.UTF16- Foundation.String.Encoding.UTF32- Foundation.String.Encoding.ASCII7- Foundation.String.Encoding.ISO_8859_1- Foundation.String.UTF8Table- Foundation.String.ModifiedUTF8- Foundation.Tuple- Foundation.Hashing.FNV- Foundation.Hashing.SipHash- Foundation.Hashing.Hasher- Foundation.Hashing.Hashable- Foundation.Check.Gen- Foundation.Check.Arbitrary- Foundation.Check.Property- Foundation.Collection.Buildable- Foundation.Collection.List- Foundation.Collection.Element- Foundation.Collection.InnerFunctor- Foundation.Collection.Collection- Foundation.Collection.Copy- Foundation.Collection.Sequential- Foundation.Collection.Keyed- Foundation.Collection.Indexed- Foundation.Collection.Foldable- Foundation.Collection.Mutable- Foundation.Collection.Zippable- Foundation.Collection.Mappable- Foundation.Conduit.Internal- Foundation.Internal.Base- Foundation.Internal.ByteSwap- Foundation.Internal.CallStack- Foundation.Internal.Environment- Foundation.Internal.Error- Foundation.Internal.Primitive- Foundation.Internal.IsList- Foundation.Internal.Identity- Foundation.Internal.Proxy- Foundation.Internal.PrimTypes- Foundation.Internal.MonadTrans- Foundation.Internal.Natural- Foundation.Internal.NumLiteral- Foundation.Numerical.Primitives- Foundation.Numerical.Number- Foundation.Numerical.Additive- Foundation.Numerical.Subtractive- Foundation.Numerical.Multiplicative- Foundation.Numerical.Floating- Foundation.IO.File- Foundation.IO.Terminal- Foundation.Primitive.Base16- Foundation.Primitive.Endianness- Foundation.Primitive.Types- Foundation.Primitive.Types.OffsetSize- Foundation.Primitive.Monad- Foundation.Primitive.NormalForm- Foundation.Primitive.Utils- Foundation.Primitive.IntegralConv- Foundation.Primitive.Floating- Foundation.Primitive.FinalPtr- Foundation.Monad.MonadIO- Foundation.Monad.Exception- Foundation.Monad.Transformer- Foundation.Monad.Identity- Foundation.Monad.Base- Foundation.Array.Chunked.Unboxed- Foundation.Array.Common- Foundation.Array.Unboxed- Foundation.Array.Unboxed.Mutable- Foundation.Array.Unboxed.ByteArray- Foundation.Array.Boxed- Foundation.Array.Bitmap- Foundation.Foreign.MemoryMap- Foundation.Foreign.MemoryMap.Types- Foundation.Partial- Foundation.System.Entropy.Common- Foundation.System.Bindings.Network-- include-dirs: cbits- C-sources: cbits/foundation_random.c- cbits/foundation_network.c-- if flag(experimental)- Exposed-modules: Foundation.Network.HostName- if os(windows)- Exposed-modules: Foundation.System.Bindings.Windows- Other-modules: Foundation.Foreign.MemoryMap.Windows- Foundation.System.Entropy.Windows- else- Exposed-modules: Foundation.System.Bindings.Posix- Foundation.System.Bindings.PosixDef- Foundation.System.Bindings.Hs- Other-modules: Foundation.Foreign.MemoryMap.Posix- Foundation.System.Entropy.Unix- if os(linux)- Exposed-modules: Foundation.System.Bindings.Linux- if os(osx)- Exposed-modules: Foundation.System.Bindings.Macos-- if impl(ghc >= 7.10)- Exposed-modules: Foundation.Tuple.Nth- Foundation.List.SList- Foundation.Primitive.Nat-- Default-Extensions: NoImplicitPrelude- RebindableSyntax- TypeFamilies- BangPatterns- DeriveDataTypeable- Build-depends: base >= 4 && < 5- , ghc-prim- -- FIXME add suport for armel mipsel- -- CPP-options: -DARCH_IS_LITTLE_ENDIAN- -- FIXME add support for powerpc powerpc64 armeb mipseb- -- CPP-options: -DARCH_IS_BIG_ENDIAN- if (arch(i386) || arch(x86_64))- CPP-options: -DARCH_IS_LITTLE_ENDIAN- else- CPP-options: -DARCH_IS_UNKNOWN_ENDIAN- if os(windows)- Build-depends: Win32- ghc-options: -Wall -fwarn-tabs- default-language: Haskell2010- if impl(ghc >= 8.0)- ghc-options: -Wno-redundant-constraints- if flag(bounds-check)- CPP-options: -DFOUNDATION_BOUNDS_CHECK--Test-Suite test-foundation- type: exitcode-stdio-1.0- hs-source-dirs: tests- Main-is: Tests.hs- Other-modules: Test.Utils.Foreign- Test.Data.List- Test.Data.Network- Test.Data.Unicode- Test.Data.ASCII- Test.Foundation.Collection- Test.Foundation.Conduit- Test.Foundation.Bits- Test.Foundation.ChunkedUArray- Test.Foundation.Network.IPv4- Test.Foundation.Network.IPv6- Test.Foundation.Number- Test.Foundation.Encoding- Test.Foundation.Parser- Test.Foundation.Array- Test.Foundation.String- Test.Foundation.Storable- Test.Foundation.Random- Test.Foundation.Misc- Imports- Default-Extensions: NoImplicitPrelude- RebindableSyntax- if flag(minimal-deps)- Buildable: False- else- Build-Depends: base >= 3 && < 5- , mtl- , QuickCheck- , tasty- , tasty-quickcheck- , tasty-hunit- , foundation- ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures- default-language: Haskell2010- if impl(ghc >= 8.0)- ghc-options: -Wno-redundant-constraints--Test-Suite check-foundation- type: exitcode-stdio-1.0- hs-source-dirs: tests- Main-is: Checks.hs- Other-modules: Test.Checks.Property.Collection- Default-Extensions: NoImplicitPrelude- RebindableSyntax- OverloadedStrings- Build-Depends: base >= 3 && < 5- , foundation- ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures- default-language: Haskell2010- if impl(ghc >= 8.0)- ghc-options: -Wno-redundant-constraints--Test-Suite doctest- type: exitcode-stdio-1.0- hs-source-dirs: tests- default-language: Haskell2010- Main-is: DocTest.hs- Default-Extensions: NoImplicitPrelude- RebindableSyntax- if flag(minimal-deps)- -- TODO: for no, force unbuildable anyway- Buildable: False- else- if flag(doctest)- Build-Depends: base >= 3 && < 5- , doctest >= 0.9- Buildable: True- else- Buildable: False--Benchmark bench- Main-Is: Main.hs- Other-modules: BenchUtil.Common- BenchUtil.RefData- Sys- Fake.ByteString- Fake.Text- hs-source-dirs: benchs- default-language: Haskell2010- type: exitcode-stdio-1.0- Default-Extensions: NoImplicitPrelude- BangPatterns- if flag(minimal-deps) || impl(ghc < 7.10)- Buildable: False- else- Build-depends: base >= 4, criterion, foundation- if flag(bench-all)- CPP-Options: -DBENCH_ALL- Build-depends: text, attoparsec, vector, bytestring+Name: foundation +Version: 0.0.8 +x-revision: 1 +Synopsis: Alternative prelude with batteries and no dependencies +Description: + A custom prelude with no dependencies apart from base. + . + This package has the following goals: + . + * provide a base like sets of modules that provide a consistent set of features and bugfixes across multiple versions of GHC (unlike base). + . + * provide a better and more efficient prelude than base's prelude. + . + * be self-sufficient: no external dependencies apart from base. + . + * provide better data-types: packed unicode string by default, arrays. + . + * Better numerical classes that better represent mathematical thing (No more all-in-one Num). + . + * Better I/O system with less Lazy IO + . + * Usual partial functions distinguished through type system +License: BSD3 +License-file: LICENSE +Copyright: Vincent Hanquez <vincent@snarc.org> +Author: Vincent Hanquez <vincent@snarc.org> +Maintainer: vincent@snarc.org +Category: foundation +Stability: experimental +Build-Type: Simple +Homepage: https://github.com/haskell-foundation/foundation +Bug-Reports: https://github.com/haskell-foundation/foundation/issues +Cabal-Version: >=1.10 +tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2 +extra-source-files: README.md + cbits/*.h + +source-repository head + type: git + location: https://github.com/haskell-foundation/foundation + +Flag experimental + Description: Enable building experimental features, known as highly unstable or without good support cross-platform + Default: False + Manual: True + +Flag bench-all + Description: Add some comparaison benchmarks against other haskell libraries + Default: False + Manual: True + +Flag minimal-deps + Description: Build fully with minimal deps (no criterion, no quickcheck, no doctest) + Default: False + Manual: True + +Flag bounds-check + Description: Add extra friendly boundary check for unsafe array operations + Default: False + Manual: True + +Flag doctest + Description: Add extra friendly boundary check for unsafe array operations + Default: False + Manual: True + +Library + Exposed-modules: Foundation + Foundation.Numerical + Foundation.Array + Foundation.Array.Internal + Foundation.Bits + Foundation.Class.Bifunctor + Foundation.Class.Storable + Foundation.Conduit + Foundation.Conduit.Textual + Foundation.Convertible + Foundation.String + Foundation.String.ASCII + Foundation.String.Read + Foundation.IO + Foundation.IO.FileMap + Foundation.VFS + Foundation.VFS.Path + Foundation.VFS.FilePath + Foundation.VFS.URI + Foundation.Math.Trigonometry + Foundation.Hashing + Foundation.Foreign + Foundation.Collection + Foundation.Primitive + Foundation.List.DList + Foundation.Monad + Foundation.Monad.Reader + Foundation.Monad.State + Foundation.Network.IPv4 + Foundation.Network.IPv6 + Foundation.System.Info + Foundation.Strict + Foundation.Parser + Foundation.Random + Foundation.Check + Foundation.UUID + Foundation.System.Entropy + Foundation.System.Bindings + Other-modules: Foundation.Boot.Builder + Foundation.Boot.List + Foundation.String.Internal + Foundation.String.UTF8 + Foundation.String.Encoding.Encoding + Foundation.String.Encoding.UTF16 + Foundation.String.Encoding.UTF32 + Foundation.String.Encoding.ASCII7 + Foundation.String.Encoding.ISO_8859_1 + Foundation.String.UTF8Table + Foundation.String.ModifiedUTF8 + Foundation.Tuple + Foundation.Hashing.FNV + Foundation.Hashing.SipHash + Foundation.Hashing.Hasher + Foundation.Hashing.Hashable + Foundation.Check.Gen + Foundation.Check.Arbitrary + Foundation.Check.Property + Foundation.Collection.Buildable + Foundation.Collection.List + Foundation.Collection.Element + Foundation.Collection.InnerFunctor + Foundation.Collection.Collection + Foundation.Collection.Copy + Foundation.Collection.Sequential + Foundation.Collection.Keyed + Foundation.Collection.Indexed + Foundation.Collection.Foldable + Foundation.Collection.Mutable + Foundation.Collection.Zippable + Foundation.Collection.Mappable + Foundation.Conduit.Internal + Foundation.Internal.Base + Foundation.Internal.ByteSwap + Foundation.Internal.CallStack + Foundation.Internal.Environment + Foundation.Internal.Error + Foundation.Internal.Primitive + Foundation.Internal.IsList + Foundation.Internal.Identity + Foundation.Internal.Proxy + Foundation.Internal.PrimTypes + Foundation.Internal.MonadTrans + Foundation.Internal.Natural + Foundation.Internal.NumLiteral + Foundation.Numerical.Primitives + Foundation.Numerical.Number + Foundation.Numerical.Additive + Foundation.Numerical.Subtractive + Foundation.Numerical.Multiplicative + Foundation.Numerical.Floating + Foundation.IO.File + Foundation.IO.Terminal + Foundation.Primitive.Base16 + Foundation.Primitive.Endianness + Foundation.Primitive.Types + Foundation.Primitive.Types.OffsetSize + Foundation.Primitive.Monad + Foundation.Primitive.NormalForm + Foundation.Primitive.Utils + Foundation.Primitive.IntegralConv + Foundation.Primitive.Floating + Foundation.Primitive.FinalPtr + Foundation.Monad.MonadIO + Foundation.Monad.Exception + Foundation.Monad.Transformer + Foundation.Monad.Identity + Foundation.Monad.Base + Foundation.Array.Chunked.Unboxed + Foundation.Array.Common + Foundation.Array.Unboxed + Foundation.Array.Unboxed.Mutable + Foundation.Array.Unboxed.ByteArray + Foundation.Array.Boxed + Foundation.Array.Bitmap + Foundation.Foreign.MemoryMap + Foundation.Foreign.MemoryMap.Types + Foundation.Partial + Foundation.System.Entropy.Common + Foundation.System.Bindings.Network + + include-dirs: cbits + C-sources: cbits/foundation_random.c + cbits/foundation_network.c + + if flag(experimental) + Exposed-modules: Foundation.Network.HostName + if os(windows) + Exposed-modules: Foundation.System.Bindings.Windows + Other-modules: Foundation.Foreign.MemoryMap.Windows + Foundation.System.Entropy.Windows + else + Exposed-modules: Foundation.System.Bindings.Posix + Foundation.System.Bindings.PosixDef + Foundation.System.Bindings.Hs + Other-modules: Foundation.Foreign.MemoryMap.Posix + Foundation.System.Entropy.Unix + if os(linux) + Exposed-modules: Foundation.System.Bindings.Linux + if os(osx) + Exposed-modules: Foundation.System.Bindings.Macos + + if impl(ghc >= 7.10) + Exposed-modules: Foundation.Tuple.Nth + Foundation.List.SList + Foundation.Primitive.Nat + + Default-Extensions: NoImplicitPrelude + RebindableSyntax + TypeFamilies + BangPatterns + DeriveDataTypeable + Build-depends: base >= 4.6 && < 5 + , ghc-prim + -- FIXME add suport for armel mipsel + -- CPP-options: -DARCH_IS_LITTLE_ENDIAN + -- FIXME add support for powerpc powerpc64 armeb mipseb + -- CPP-options: -DARCH_IS_BIG_ENDIAN + if (arch(i386) || arch(x86_64)) + CPP-options: -DARCH_IS_LITTLE_ENDIAN + else + CPP-options: -DARCH_IS_UNKNOWN_ENDIAN + if os(windows) + Build-depends: Win32 + ghc-options: -Wall -fwarn-tabs + default-language: Haskell2010 + if impl(ghc >= 8.0) + ghc-options: -Wno-redundant-constraints + if flag(bounds-check) + CPP-options: -DFOUNDATION_BOUNDS_CHECK + +Test-Suite test-foundation + type: exitcode-stdio-1.0 + hs-source-dirs: tests + Main-is: Tests.hs + Other-modules: Test.Utils.Foreign + Test.Data.List + Test.Data.Network + Test.Data.Unicode + Test.Data.ASCII + Test.Foundation.Collection + Test.Foundation.Conduit + Test.Foundation.Bits + Test.Foundation.ChunkedUArray + Test.Foundation.Network.IPv4 + Test.Foundation.Network.IPv6 + Test.Foundation.Number + Test.Foundation.Encoding + Test.Foundation.Parser + Test.Foundation.Array + Test.Foundation.String + Test.Foundation.Storable + Test.Foundation.Random + Test.Foundation.Misc + Imports + Default-Extensions: NoImplicitPrelude + RebindableSyntax + if flag(minimal-deps) + Buildable: False + else + Build-Depends: base >= 3 && < 5 + , mtl + , QuickCheck + , tasty + , tasty-quickcheck + , tasty-hunit + , foundation + ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures + default-language: Haskell2010 + if impl(ghc >= 8.0) + ghc-options: -Wno-redundant-constraints + +Test-Suite check-foundation + type: exitcode-stdio-1.0 + hs-source-dirs: tests + Main-is: Checks.hs + Other-modules: Test.Checks.Property.Collection + Default-Extensions: NoImplicitPrelude + RebindableSyntax + OverloadedStrings + Build-Depends: base >= 3 && < 5 + , foundation + ghc-options: -Wall -fno-warn-orphans -fno-warn-missing-signatures + default-language: Haskell2010 + if impl(ghc >= 8.0) + ghc-options: -Wno-redundant-constraints + +Test-Suite doctest + type: exitcode-stdio-1.0 + hs-source-dirs: tests + default-language: Haskell2010 + Main-is: DocTest.hs + Default-Extensions: NoImplicitPrelude + RebindableSyntax + if flag(minimal-deps) + -- TODO: for no, force unbuildable anyway + Buildable: False + else + if flag(doctest) + Build-Depends: base >= 3 && < 5 + , doctest >= 0.9 + Buildable: True + else + Buildable: False + +Benchmark bench + Main-Is: Main.hs + Other-modules: BenchUtil.Common + BenchUtil.RefData + Sys + Fake.ByteString + Fake.Text + hs-source-dirs: benchs + default-language: Haskell2010 + type: exitcode-stdio-1.0 + Default-Extensions: NoImplicitPrelude + BangPatterns + if flag(minimal-deps) || impl(ghc < 7.10) + Buildable: False + else + Build-depends: base >= 4, criterion, foundation + if flag(bench-all) + CPP-Options: -DBENCH_ALL + Build-depends: text, attoparsec, vector, bytestring
revision 2
Name: foundation Version: 0.0.8 -x-revision: 1 +x-revision: 2 Synopsis: Alternative prelude with batteries and no dependencies Description: A custom prelude with no dependencies apart from base. TypeFamilies BangPatterns DeriveDataTypeable - Build-depends: base >= 4.6 && < 5 + Build-depends: base >= 4.6 && < 4.11 , ghc-prim -- FIXME add suport for armel mipsel -- CPP-options: -DARCH_IS_LITTLE_ENDIAN