3 ms·
Hum... Haskell monads are very concrete when compared to the Java factories. They represent abstract stuff, but always a single well defined abstract concept. T
by marcosdumay 11y ago
Hum... Haskell monads are very concrete when compared to the Java factories. They represent abstract stuff, but always a single well defined abstract concept. They do not make the code more generic.
Maybe you can replace those with lenses, or applicatives in general. People do overuse those.