You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

639 B

Exercises: Bottom Madness

Will it blow up?

  1. Bottom
  2. Will return [1]
  3. Bottom
  4. Will return 3
  5. Bottom
  6. Will return [2]
  7. Bottom
  8. Will return [1]
  9. Will return [1,3]
  10. Bottom

Intermission: Is it in normal form?

  1. NF - No further evaluation possible.
  2. WHNF - : is a data constructor, but due to the _ it isn't fully evaluated.
  3. Neither - enumFromTo is not a data constructor
  4. Neither - length is not a data constructor
  5. Neither - sum is not a data constructor
  6. Neither - ++ is not a data constructor
  7. WHNF - (,) is a data constructor, but due to the _ it is not fully evaluated.