Advertisement
Hppavilion1

Lazy-Evaluated Sequence Language- Programs

Apr 8th, 2016
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. bottles := [100] -> count_down -> { show -> print ; ."bottles of beer on the wall" }
  2. cat := (user_input -> id$stdout) -> take_while (!='')
  3. truth := (user_input -> id$stdout) -> takeif (!=0) -> cycle -> map stdout
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement