Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/kbrw/rulex

This tiny library (2 macros only) allows you to define very simple rule handler using Elixir pattern matching.
https://github.com/kbrw/rulex

elixir

Last synced: about 2 months ago
JSON representation

This tiny library (2 macros only) allows you to define very simple rule handler using Elixir pattern matching.

Lists

README

        

Rulex
=====

[![Build Status](https://travis-ci.org/kbrw/rulex.svg?branch=master)](https://travis-ci.org/kbrw/rulex)

This application allows to do very simple rule handler using Elixir pattern
matching :

- declare rules as function clause.
- Create a function `apply_rules` which apply recursively your
function until no more match, ensuring that each function execution
happened only once.

## Usage ##

See in [in code documentation](http://hexdocs.pm/rulex)

# CONTRIBUTING

Hi, and thank you for wanting to contribute.
Please refer to the centralized informations available at: https://github.com/kbrw#contributing