module_using_generic_library.nim 198 B

12345678910111213
  1. import
  2. generic_library, helper_module
  3. proc mixedIn: int = 100
  4. proc makeUseOfLibrary*[T](x: T) =
  5. bind mixedIn, indirectlyMixedIn
  6. libraryFunc(x)
  7. when isMainModule:
  8. makeUseOfLibrary "test"