3 ms·
If that change goes through your whole program without causing any breakage, from Haskell's point of view it's a good change. If you have an API that exposes d
by pyrale 6y ago
If that change goes through your whole program without causing any breakage, from Haskell's point of view it's a good change.
If you have an API that exposes data to external systems, that may cause an integration breakage, indeed. That is why Haskell users like to use libs like Servant, which let you specify your API as a type. This way, if you change your system, your API has to change aswell.
Another benefit of Servant is that you can generate swagger and clients for other languages easily, which your users can use in their own build to get type safety too.