Guest User

Untitled

a guest
Mar 13th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. -- Point is to read from stdin, outputing each line prefixed with "Yes, "
  2. -- Appends "Yes, " to a string
  3. prefix_yes = ("Yes, " ++)
  4.  
  5. main = interact (unlines . map prefix_yes . lines)
Add Comment
Please, Sign In to add comment