Guest User

Untitled

a guest
Dec 16th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. f x = x + 1
  2.  
  3. let f x = x + 1
  4.  
  5. > f [] = 3
  6. > f (x:xs) = 4
  7.  
  8. > let f [] = 3
  9. > let f (x:xs) = 4
  10.  
  11. > :{
  12. | let f [] = 3
  13. | f (x:xs) = 4
  14. | :}
  15.  
  16. > let f [] = 3
  17. | f (x:xs) = 4
  18. |
  19.  
  20. > :set -Wall
  21. > a = 2
  22. > let a = 3
  23.  
  24. > :set -Wall
  25. > a = 2
  26. > a = 3
Add Comment
Please, Sign In to add comment