[Haskell-cafe] ghc-9 strictness annotations change?

Johannes Waldmann johannes.waldmann at htwk-leipzig.de
Thu Oct 1 15:47:23 UTC 2020


Dear Cafe,

did something change w.r.t. placement of the bang?

GHCi, version 9.0.0.20200925: https://www.haskell.org/ghc/  :? for help

Prelude> data T = T { foo :: ! Int }

<interactive>:1:21: error: Operator applied to too few arguments: !

Prelude> data T = T { foo :: !Int }
Prelude>

- J.W.


More information about the Haskell-Cafe mailing list