ghc-9 strictness annotations change?

1 Oct
2020
1 Oct
'20
11:47 a.m.
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.

1 Oct
1 Oct
11:53 a.m.
Hi! I believe this is what you're looking for - https://github.com/ghc-proposals/ghc-proposals/pull/229 But I'm not sure if it was implemented in 9.0 or earlier. ====== Georgi
1692
Age (days ago)
1692
Last active (days ago)
1 comments
2 participants
participants (2)
-
Georgi Lyubenov
-
Johannes Waldmann