Created
October 22, 2014 00:14
-
-
Save flaviut/1ae1d7deac4c57d0a84c 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
proc box*[T](val: T): ref T = | |
new result | |
result[] = val |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment