Nimony

The road to Nim 3

commonio

nimony/lib/std/commonio.nim

The vocabulary shared by the two file APIs, std/syncio and std/asyncio. Both export this module, so a program importing both sees one FileMode, one fmRead and so on, rather than two that are ambiguous.

Also here: what a FileMode and a permission set mean to the operating system's open call, so the two APIs cannot disagree about it.