Popularity
8.8
Growing
Activity
6.4
Growing
367
6
12

Description

The erlang convention for functions that can fail is to return a result tuple. A result tuple is a two-tuple tagged either as a success(:ok) or a failure(:error).

The OK module works with result tuples by treating them as a result monad.

Monthly Downloads: 10,272
Programming language: Elixir
License: Apache License 2.0
Tags: Macros     Erlang     Pipes     Railway Programming     Error Handling    

OK alternatives and related packages

Based on the "Macros" category

Do you think we are missing an alternative of OK or a related project?

Add another 'Macros' Package

OK Recommendations

There are no recommendations yet. Be the first to promote OK!

Have you used OK? Share your experience. Write a short recommendation and OK, you and your project will be promoted on Awesome Elixir.
Recommend OK

Recently added OK resources

Do you know of a usefull tutorial, book or news relevant to OK?
Be the first to add one!