Created
January 19, 2015 10:26
-
-
Save keleshev/1f42f5006912802681cf to your computer and use it in GitHub Desktop.
This file contains 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 b = Buffer.create 0 in | |
Buffer.add_substitute b (function "hello" -> "bye") "$hello world"; | |
Buffer.contents b;; | |
- : string = "bye world" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment