Missing documentation for HieAST etc structures
Is there some documentation of why HieAST
structure looks like what it does. There is probably some logic (Data
based?) on how its generated, but it doesn't make much sense by just reading haddocks.
- Why annotations is a Set, (which is mostly singleton, but sometimes empty, or actually containing multiple annotations)
- Why
HieFile
has aMap HiePath (HieAST a)
, what are these paths? Can this map be empty? - What is
NodeOrigin
for? Can node has both, either or none ofNodeInfo
. What is the difference?