summaryrefslogtreecommitdiff
path: root/Alpha.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-02-23 14:53:06 -0500
committerBen Sima <ben@bsima.me>2021-02-23 14:53:06 -0500
commit7fc6ad75094eebbd33a45ebf0622a7d83023e5a4 (patch)
treed74cd9e81b49c4331fd0e22b94b0235fc8efa794 /Alpha.hs
parentc2d73d5fcd5d6cca4463caf69912ae0b65c92abe (diff)
Add repoVisibility
Diffstat (limited to 'Alpha.hs')
-rw-r--r--Alpha.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alpha.hs b/Alpha.hs
index f1c5bdd..47e7b57 100644
--- a/Alpha.hs
+++ b/Alpha.hs
@@ -164,12 +164,12 @@ a +> b = a Prelude.>>= b
infixl 1 +>
-- | If-then-else. wutcol
-(?:) :: Bool -> (Bool -> p, Bool -> p) -> p
-a ?: (f, g) = if a then f a else g a
+(?:) :: Bool -> (p, p) -> p
+a ?: (b, c) = if a then b else c
-- | Inverted if-then-else. wutdot
-(?.) :: Bool -> (Bool -> p, Bool -> p) -> p
-a ?. (g, f) = if a then f a else g a
+(?.) :: Bool -> (p, p) -> p
+a ?. (b, c) = if a then c else b
-- | Positive assertion. wutgar
(?>) :: Bool -> (Bool -> Text -> a) -> Text -> a