about summary refs log tree commit diff
path: root/scratch/haskell-programming-from-first-principles/non-strictness.hs
blob: 42608fb0c9612b3a2d4be09b18da4ec31c8272a7 (plain) (blame)
1
2
3
4
5
6
module NonStrictnessScratch where

x = undefined
y = "blah"
main = do
  print $ snd (x, x `seq` y)