Package

purescript-conditional

Repository
purescripters/purescript-conditional
License
MIT
Uploaded by
Risto-Stevcev
Published on
2017-05-31T06:27:05Z

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