I am new to haskell and recently I read about haskell wiki rigor analysis. GHC User Guide :
The strictness analyzer calculates when arguments and variables in a function can be processed βstrictlyβ (that is, they are always evaluated in a function at some point).
I also read about when rigor can be inferred as a whole. However, as a beginner, I'm not always sure if ghc really handles my piece of code, which I intended to be strict as strict.
Currently, I have no other way to find out if a rigorous analysis is going on than how to feed the program big data.
Is there any way to ask ghc if it can do strict code?
haskell ghc
Yosh
source share