packages feed

base-prelude 0.1.3 → 0.1.4

raw patch · 2 files changed

+2/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

base-prelude.cabal view
@@ -1,7 +1,7 @@ name:   base-prelude version:-  0.1.3+  0.1.4 synopsis:   The most complete prelude formed from only the "base" package description:@@ -48,7 +48,5 @@     BasePrelude   build-depends:     base >= 4.5 && < 4.8-  default-extensions:-    Arrows, BangPatterns, ConstraintKinds, DataKinds, DefaultSignatures, DeriveDataTypeable, DeriveFunctor, DeriveGeneric, EmptyDataDecls, FlexibleContexts, FlexibleInstances, FunctionalDependencies, GADTs, GeneralizedNewtypeDeriving, ImpredicativeTypes, LambdaCase, LiberalTypeSynonyms, MagicHash, MultiParamTypeClasses, MultiWayIf, NoImplicitPrelude, NoMonomorphismRestriction, OverloadedStrings, PatternGuards, ParallelListComp, QuasiQuotes, RankNTypes, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TemplateHaskell, TupleSections, TypeFamilies, TypeOperators, UnboxedTuples   default-language:     Haskell2010
library/BasePrelude.hs view
@@ -71,7 +71,7 @@ -- @bool a b p@ evaluates to @a@ when @p@ is @False@, and evaluates to @b@ -- when @p@ is @True@. bool :: a -> a -> Bool -> a-bool f t = \case False -> f; True -> t+bool f t b = if b then t else f  {-| Like 'traceShow' but returns the shown value instead of a third value.