--ghc-strict-data and --ghc-strict #5431
Labels
backend: ghc
Haskell code generation backend ("MAlonzo")
type: enhancement
Issues and pull requests about possible improvements
Milestone
I've implemented two flags that make the GHC backend emit possibly more strict code:
--ghc-strict-data
: Based on the GHC language extensionStrictData
. Makes most inductive constructors strict.--ghc-strict
: Based on the GHC language extensionStrict
. Makes the code mostly strict.Are there any thoughts about this before I push the changes?
I'm not sure how useful these flags are:
OPTIONS
pragmas, and furthermore the translation to tree-less syntax depends on the evaluation strategy).However, I wanted to be able to test that
--erased-cubical
works correctly in a strict, functional setting.The text was updated successfully, but these errors were encountered: