Skip to content

Instantly share code, notes, and snippets.

@bgamari
Created July 11, 2019 17:48
Show Gist options
  • Save bgamari/55a9624d995af053a5c6326a62bfe9f5 to your computer and use it in GitHub Desktop.
Save bgamari/55a9624d995af053a5c6326a62bfe9f5 to your computer and use it in GitHub Desktop.
data StackField b = PointerField b
| WordField !Word
data StackFrame b = StackFrame { infoTable :: StgInfoTable
, fields :: [StackField b]
}
data GenClosure b = ...
| StackClosure [StackFrame b]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment