fork download
  1. type
  2. Entity = concept x
  3. x.foo is int
  4. x.bar is int
  5.  
  6. ObjectOne = object
  7. x: int
  8. y: int
  9.  
  10. ObjectTwo = object
  11. x: int
  12. y: int
  13.  
  14. Repository[T: Entity] = ref object
  15.  
  16. SqliteRepository[T: Entity] = ref object
  17.  
  18. when isMainModule:
  19. var r: SqliteRepository[ObjectOne]
  20. # ...
Success #stdin #stdout 0s 2420KB
stdin
Standard input is empty
stdout
Standard output is empty