kbrw / rulex

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rulex

Build Status

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

CONTRIBUTING

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

About

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

License:MIT License


Languages

Language:Elixir 100.0%