Does PureScript have a conditional ternary operator?
and if it does not, is it possible to simulate one using other language constructs?
if-then-else is PureScript's analog of ternary conditional operator.
if
then
else
x = if 5 == 5 then "foo" else "bar"