Final tagless approach in order to separate logic and implementation.
Install Maven, JDK 8 and Scala.
After that, clone this repository ~$ git clone https://github.com/serrodcal/freeTagless.git.
In console, move to project directory and run ~$ mvn clean install.
In console, move to directory which contains generated JAR file and run
~$ java -jar freeTagless-0.1.0-SNAPSHOT.jar.
- Maven - Dependency Management
- Java - Virtual Machine
- Scala - Language
- Cats - Lightweught, modular and extensible library for functional programming
Here, use ´X.Y.z´ for versioning. For the versions available, see tags on this repository.
- Sergio Rodríguez - Software Architect
For more information, see this article.
Thanks to logicaalternativa for the help.