Skip to content

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 a Map HiePath (HieAST a), what are these paths? Can this map be empty?
  • What is NodeOrigin for? Can node has both, either or none of NodeInfo. What is the difference?
Edited by Oleg Grenrus
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information