breaking change: 'concept' is now a keyword and used instead of 'generic'

This commit is contained in:
Araq 2015-03-23 00:51:04 +01:00
commit f6ff01572e
15 changed files with 462 additions and 475 deletions

View file

@ -22,7 +22,7 @@ template reject(e: expr) =
static: assert(not compiles(e))
type
Container[T] = generic C
Container[T] = concept C
C.len is Ordinal
items(c) is iterator
for value in C: