Created
October 10, 2022 17:40
-
-
Save wpcarro/a6f3fc449b38cc46b0bf449fd4a5edfb to your computer and use it in GitHub Desktop.
OCaml experiments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (* 1/n experiments in replacing Python with OCaml for some tasks. *) | |
| let n = ref 0 in | |
| while !n < 10 do | |
| print_string ".\n"; | |
| n += !n + 1; | |
| done;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment