No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
package.lisp
rail.asd
rail.lisp
readme.org
test.lisp

readme.org

Rail

With rail you can handle errors in functional way and remove many error checks. It is implementation of Railway Oriented Programing.

Usage

You can quickload cl-rail with:

(ql:quickload :rail)

If you’d like to know why or how you should definitely view the talk and the post by Scott Wlaschin. For now there is not that much examples of usage but you can see the clojure`s implementation example of FizzBuzz here.

To see how it’s used in real world to handle errors you can look at simple example of reading some metadata from file (which can obviously fail) in my tool to manage project folders (the part in ->> form).