generic types can be used like type classes. distinct can be applied to type classes.
This commit is contained in:
parent
296ef07955
commit
bc2eb0ea9b
11 changed files with 147 additions and 79 deletions
|
|
@ -219,3 +219,6 @@ proc binaryStrSearch*(x: openarray[string], y: string): int =
|
|||
return mid
|
||||
result = - 1
|
||||
|
||||
# Can we keep this? I'm using it all the time
|
||||
template nimdbg*: expr = c.filename.endsWith"nimdbg.nim"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue