I am new to Haskell, but have some idea. I would like to know if it is worth implementing it (if it is in line with the recommended Haskell style, and if it has not already been done).
I am thinking of a library that will contain a clean abstract abstract object. It will work as follows:
- The object will be immutable. Based on this, you will create a new canvas (implemented as a list construct).
- This will be a completely abstract list of forms, independent of the actual renderer.
- Visualization tools will appear that can transform this abstract canvas into raster and vector formats. This would be the only unclean operation required when working with this library.
What do you think? If I get approval from some experienced hacker, I would try.
source share