How to expose coercions only one way?
Consider this somewhat silly datatype:
How to expose coercions only one way?
Consider this somewhat silly datatype:
How to exclude field record wildcard imports from ghc -Wmissing-import-lists?
I’d like to get the behavior of -Xmissing-import-lists
but exclude record field wildcard imports.
How to exclude field record wildcard imports from ghc -Wmissing-import-lists?
I’d like to get the behavior of -Xmissing-import-lists
but exclude record field wildcard imports.
How to fix missing dependencies after deleting GHC’s snapshots?
My C:
drive was full, so I decided to remove all Haskell snapshots older than two month, knowing it could cause trouble.
Why does nullary constructors in GHC Haskell take two machine words?
I experimented with the closureSize#
primitive in GHC. Here I define the helper function I use (x
is forced using a bang pattern, so what I am measuring should be the data constructor closures themselves rather than the thunks).