Advertisement
Wyvern67

A big bunch of dicks

Oct 12th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.24 KB | None | 0 0
  1. (*
  2. What's better than a big bunch of dicks to illustrate recursivity ?
  3. <3
  4. *)
  5.  
  6. let rec test x=
  7.     let a = print_string( string_of_int(x) ^ " bites" ) in
  8.     let b = print_newline() in
  9.     let s = x+1 in
  10.     if s <= 10000000 then
  11.         test s;;
  12.  
  13. test 0;;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement