Guest User

Untitled

a guest
Jun 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. (def (compp x)
  2. (if(< 1 (length x))
  3. (let ([t (take x 2)])
  4. (compp (append (if (apply > t)
  5. (take t 1) (cdr t))
  6. (drop x 2))))
  7. (first x)))
  8.  
  9.  
  10. (+ 1 1)
  11.  
  12. (def (recv)
  13. (def data "")
  14. (while (string-find? data "\n")
  15. (def chunk (read-char (socket-intput sock)))
  16. (if (null? chunk)
  17. (error 'lol "Conection Error")
  18. (string-append! data chunk))))
Add Comment
Please, Sign In to add comment