sábado, 13 de octubre de 2018

Haskell: some notes about strictness

The exclamation mark is a strictness declaration: "it means that it must be evaluated to what's called "weak normal head form" when the data structure value is created" (see https://stackoverflow.com/a/993326/328616)

On Weak Head Normal Form: check this amazing post https://stackoverflow.com/a/6889335/328616.