Created
April 26, 2015 14:21
-
-
Save SteveGilham/6ebad32dfb42b33e4a08 to your computer and use it in GitHub Desktop.
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
let rec echo k = | |
let echoChar c = if c = '\r' | |
then putc '\n' k | |
else putc c (echo k) | |
getc echoChar;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment