Understanding the different behavior of thunks when GHCi let bindings are involved

Because (,) is a constructor, the difference makes no difference to Haskell’s semantics (:sprint gives access to internal thunk implementation details so doesn’t count.) So this is a question of which optimizations and trade-offs GHC does when compiling (x,x) in different positions. Someone else may know the precise reason in these cases.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)