eternal 0.0.2 → 0.0.3
raw patch · 2 files changed
+6/−2 lines, 2 files
Files
- eternal.cabal +1/−1
- src/Control/Eternal/Syntax/Logic.hs +5/−1
eternal.cabal view
@@ -1,6 +1,6 @@ name: eternal category: Control -version: 0.0.2 +version: 0.0.3 author: Heather Cynede maintainer: Heather Cynede <Cynede@Gentoo.org> license: BSD3
src/Control/Eternal/Syntax/Logic.hs view
@@ -1,8 +1,12 @@ module Control.Eternal.Syntax.Logic ( ifSo + , ifNot ) where -import Control.Monad (when) +import Control.Monad (when, unless) ifSo :: IO () -> Bool -> IO () ifSo = flip when + +ifNot :: IO () -> Bool -> IO () +ifNot = flip unless