labra / ShExcala

ShEx expressions in Scala
http://labra.github.io/ShExcala/
MIT License
11 stars 3 forks source link

Refactor code to use more typeclasses #21

Open labra opened 9 years ago

labra commented 9 years ago

There are some pieces of code that would benefit if I employ typeclasses.

For example...Defining a type class "Validator" with the main operations about validation so I could define different specific validators as different instances

Take a look at the https://github.com/mpilquist/simulacrum