Advertisement
Guest User

Untitled

a guest
Sep 11th, 2011
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import Char -- X
  2. q = [chr 34] -- X
  3. s = "import Char -- Xq = [chr 34] -- Xs =  -- Xmain = let {f s x = (if x == chr 88 then s ++ [x, chr 10] else s ++ [x]); ss = foldl f [] s} in putStr $ (take 39 ss) ++ q ++ s ++ q ++ (drop 39 ss)" -- X
  4. main = let {f s x = (if x == chr 88 then s ++ [x, chr 10] else s ++ [x]); ss = foldl f [] s} in putStr $ (take 39 ss) ++ q ++ s ++ q ++ (drop 39 ss)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement