Package

purescript-conditional

Repository
purescripters/purescript-conditional
License
MIT
Uploaded by
Risto-Stevcev

Provides a simple shorthand for conditional statements, analagous to predicate ? expr1 : expr2 in JS

Usage

import Conditional ((?))
(false && true) ? (3 + 5) $ (5 * 2)  -- 8
Modules
Conditional
Dependencies