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: 4 months ago
JSON representation
This tiny library (2 macros only) allows you to define very simple rule handler using Elixir pattern matching.
- Host: GitHub
- URL: https://github.com/kbrw/rulex
- Owner: kbrw
- License: mit
- Created: 2014-08-10T23:07:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-10-29T09:55:30.000Z (over 4 years ago)
- Last Synced: 2025-04-29T09:42:58.855Z (9 months ago)
- Topics: elixir
- Language: Elixir
- Size: 10.7 KB
- Stars: 13
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- freaking_awesome_elixir - Elixir - Simple rule handler using Elixir pattern matching. (Macros)
README
Rulex
=====
[](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