With hammar\'s help I have made a template Haskell bit which compiles $(zModP 5) to newtype Z5 = Z5 Int
I recently getting to know about functional programming (in Haskell and Scala). It\'s capabilities and elegance is quite charming.
It is well-known that monoids are stunningly ubiquitous in programing. They are so ubiquitous and so useful that I, as a \'hobby project\', am working on a system that is completely based on th开发者_