Extract information from encode function, in particular different case analysis based on the structure of the top level type. Henceforth, we can trace all the needed constructors, generate those in order to force different encode cases. We can apply the same idea to guards over the data inside constructors.
Extract information from
encodefunction, in particular different case analysis based on the structure of the top level type. Henceforth, we can trace all the needed constructors, generate those in order to force differentencodecases. We can apply the same idea to guards over the data inside constructors.