Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

owickstrom/purescript-leffe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leffe

The Labeled Effects Extension to PureScript


PureScript's Eff type is really nice. Sometimes, however, you might want to associate resources with side-effects, such as file descriptors, sockets, or byte buffer. Manually passing around such resources to related side-effecting operations is error-prone, and the compiler might not be able to catch your mistakes. With Leffe, resources are bundled into the monadic side-effecting operations, and thus safe from being passed around incorrectly.

This library is highly experimental at this stage, and should probably not be used for anything but playful things.

Example

There's a naive File module, wrapping the Node.FS module. See the usage example.

License

Mozilla Public License Version 2.0

About

The Labeled Effects Extension to PureScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published