Fixes #1786: Moved marshalling code to own namespace#2193
Fixes #1786: Moved marshalling code to own namespace#2193Gabriella439 merged 6 commits intodhall-lang:masterfrom
Conversation
All decoding related code was moved to Dhall.Marshal.Decode and the encoding related code to Dhall.Marshal.Encode respectively. Additionally some minor documentation issues were fixed.
|
Hm, Hydra fails with but my local Haddock builds look fine. What is going on here? General question: How do I debug problems like this? The log does not give me any clue what went wrong. |
|
@sjakobi The motivation behind the namespaces were the following: The Dhall module in its current form has almost 3000 lines, most of them related to marshalling. Since such a huge module is kind of hard to navigate (Well, at least I had troubles the last time I contributed.) the idea was to move the decoding/encoding code to an own namespace. The goal is (was?) to end up with a clearer separation of concerns and maybe even improved compile times during development due to smaller compilation units. Regarding the Hydra+Haddock issue: Yeah, I finally remembered what caused the issue the last time I ran into this :) Since I could not find any documentation on the Haddock checks Hydra is performing I will open a PR in order to add it to our CONTRIBUTION docs after I am done with this one. |
|
@mmhat: Thank you for doing this! 🙂 |
All decoding related code was moved to Dhall.Marshal.Decode and the
encoding related code to Dhall.Marshal.Encode respectively.
Additionally some minor documentation issues were fixed.
Fixes #1786