Is there an existing implementation of the semantics opendefined in the document Open data types and open functions ? As a GHC extension, as a Template Haskell, as part of some other Haskell compiler, as a preprocessor, etc. The document was published in 2006, and it claims to be simple.
I need data extensibility for several basic types in the project I'm working on. But I donβt want to raise every constructor of an open date by type and every open function in a class.
source
share