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.
- Host: GitHub
- URL: https://github.com/kbrw/rulex
- Owner: kbrw
- License: mit
- Created: 2014-08-10T23:07:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-10-29T09:55:30.000Z (over 2 years ago)
- Last Synced: 2024-04-24T10:36:52.759Z (about 2 months ago)
- Topics: elixir
- Language: Elixir
- Size: 10.7 KB
- Stars: 13
- Watchers: 5
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-elixir - rulex - Simple rule handler using Elixir pattern matching. (Macros)
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