diff options
Diffstat (limited to 'users/wpcarro/scratch/haskell-programming-from-first-principles/non-strictness.hs')
-rw-r--r-- | users/wpcarro/scratch/haskell-programming-from-first-principles/non-strictness.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/wpcarro/scratch/haskell-programming-from-first-principles/non-strictness.hs b/users/wpcarro/scratch/haskell-programming-from-first-principles/non-strictness.hs new file mode 100644 index 000000000000..42608fb0c961 --- /dev/null +++ b/users/wpcarro/scratch/haskell-programming-from-first-principles/non-strictness.hs @@ -0,0 +1,6 @@ +module NonStrictnessScratch where + +x = undefined +y = "blah" +main = do + print $ snd (x, x `seq` y) |