Prefixes are for C, idiomatic Nim doesn't use them. > I'm still a bit unclear what the best(preferred?) technique is in Nim for > defining a generic API that different packages can implement.
While you can use concepts for that, I usually use pretty much "interface by convention". The modules adhere to the "interface" if they happen to implement the right routines. It's not hard to write a test that enforces the proper interface, for example, all your implementations `include` a common test file that enforces the API.