ghc's {-# LANGUAGE Strict #-}
does not behave like a strict language
it behaves like nothing that exists
it is a fucking conundrum
@00dani i'm aware of how this works
at the same time it behaves like nothing that exists ever
@hazel well yeah it's very weird
@hazel ghc's language WHAT
when did they add this?
@hierarchon 8.0 and it isn't real
@hierarchon (it's real but I wish it wasn't)
@hazel i mean i can see the motive for "none of this code needs to be lazy but i don't want to put ! everywhere"
@hierarchon yes but at the same time that doesn't magically make haskell a strict language
it should probably be called AutoBangPatterns
or something
@hazel StrictByDefault maybe
@hazel it means anything that can be made strict using
!
is automatically made strictthere are lots of things in haskell that cannot be automatically made strict, and the
!
prefix has a pretty limited effect anyway