Created
January 20, 2014 02:20
-
-
Save mrzv/8513889 to your computer and use it in GitHub Desktop.
Nimrod segfault
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
import tables | |
type | |
TMyTable[T] = TTable[int,T] | |
proc `[]=`[T](m: TMyTable[T], k: int, v: T) = | |
tables.`[]=`[int,T](m,k,v) | |
var m: TMyTable[int] = initTable[int,int]() | |
m[2] = 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment