← nimrepo

not important

d78cfc4b693c4b13dde46ac794cb0eaeae654119 · ovidiucs · Feb 28, 2019 10:37

+1 −1 · 2 files changed

  • concepts_stuff.nim +1 −0
  • generics_stuff.nim +0 −1
diff --git a/concepts_stuff.nim b/concepts_stuff.nim
index 5b4e6d5..a4da905 100644
--- a/concepts_stuff.nim
+++ b/concepts_stuff.nim
@@ -3,3 +3,4 @@
 
 ## About concepts:
 ## decipher https://gist.github.com/dustinlacewell/d89d210778c449aff6496a7d6ad5d645
+## Concepts are constraints on type parameters for types and procedures/templates.
\ No newline at end of file
diff --git a/generics_stuff.nim b/generics_stuff.nim
index 8deceaa..22717a8 100644
--- a/generics_stuff.nim
+++ b/generics_stuff.nim
@@ -23,4 +23,3 @@ proc `*`[T](a: T, b: int): T =
 
 echo("a" * 10)
 
-echo ("10" + "10")