Skip to content

A simple purescript library for shorthand conditional expressions

License

Notifications You must be signed in to change notification settings

purescripters/purescript-conditional

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-conditional

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

Usage

import Conditional ((?))
(false || true) ? (3 + 5) $ (5 * 2)  -- 8

About

A simple purescript library for shorthand conditional expressions

Resources

License

Stars

Watchers

Forks

Packages

No packages published