tvl-depot/scratch/haskell-programming-from-first-principles/non-strictness.hs
William Carroll feb74b3091 Complete exercises for "Non-Strictness" chapter
I completed most of the exercises for this enlightening chapter in ghci.
2020-07-14 22:28:24 +01:00

6 lines
99 B
Haskell

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