[scaffold] add 'production' and 'prod' combinator
This commit is contained in:
parent
687961cd22
commit
55bd35fc5c
@ -10,3 +10,9 @@ development =
|
|||||||
|
|
||||||
dev :: a -> a -> a
|
dev :: a -> a -> a
|
||||||
dev a b = if development then a else b
|
dev a b = if development then a else b
|
||||||
|
|
||||||
|
production :: Bool
|
||||||
|
production = not development
|
||||||
|
|
||||||
|
prod :: a -> a -> a
|
||||||
|
prod a b = if production then a else b
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user