summaryrefslogtreecommitdiff
path: root/src/Miscellaneous.hs
blob: 94e967286242f1af027e87cd726a2a68d2e7dee8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module Miscellaneous(
    if'
    (?)
    ) where\




if' :: Bool -> t -> t -> t
if' a b c = if a then b else c




infixr 1 ?
(?) :: Bool -> t -> t -> t
(?) = if'