packages feed

bools 0.0.0 → 0.1.0

raw patch · 3 files changed

+19/−19 lines, 3 files

Files

bools.cabal view
@@ -1,5 +1,5 @@ name:                bools-version:             0.0.0+version:             0.1.0 synopsis:            Functions for dealing with bools description:         Functions for dealing with bools license:             BSD3@@ -12,7 +12,7 @@ cabal-version:       >=1.8  library-  exposed-modules:   Data.Bools+  exposed-modules:   Bools   hs-source-dirs:    src/   build-depends:     base > 4 && <5   ghc-options:       -Wall
+ src/Bools.hs view
@@ -0,0 +1,17 @@+-- | Functions for dealing with bools.++module Bools+  (bool+  ,cond+  ,module Data.Bool)+ where++import Data.Bool++-- | bool false true p = if p then true else false+bool :: a -> a -> Bool -> a+bool false true p = if p then true else false++-- | cond false true p v = if p v then true v else false v+cond :: (a -> b) -> (a -> b) -> (a -> Bool) -> a -> b+cond false true p v = if p v then true v else false v
− src/Data/Bools.hs
@@ -1,17 +0,0 @@--- | Functions for dealing with bools.--module Data.Bools-  (bool-  ,cond-  ,module Data.Bool)- where--import Data.Bool---- | bool false true p = if p then true else false-bool :: a -> a -> Bool -> a-bool false true p = if p then true else false---- | cond false true p v = if p v then true v else false v-cond :: (a -> b) -> (a -> b) -> (a -> Bool) -> a -> b-cond false true p v = if p v then true v else false v