packages feed

simpleprelude 1.0.1.2 → 1.0.1.3

raw patch · 2 files changed

+7/−2 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Prelude: ifThenElse :: Bool -> t -> t -> t

Files

simpleprelude.cabal view
@@ -1,6 +1,6 @@ Name:                simpleprelude -Version:             1.0.1.2+Version:             1.0.1.3  Synopsis:            A simplified Haskell prelude for teaching @@ -21,6 +21,7 @@                      .                      Release History:                      .+		     - 1.0.1.3: Bugfix concerning conditional expressions 		     - 1.0.1.1: Fixing missing operator precedences                      - 1.0.1.0: Add a Haskell pre-processor to restore                      the feel of an implicityly imported Prelude although
src/Prelude.hs view
@@ -3,7 +3,8 @@ module Prelude 	(     -- * Standard types, classes and related functions-+    ifThenElse,+         -- ** Basic data types     Bool(False, True),     (&&), (||), not, otherwise,@@ -241,3 +242,6 @@ (/=) = (P./=)  infix 4 ==, /=+++ifThenElse e1 e2 e3= if e1 then e2 else e3