Proposal: Renaming imported symbols

2020-07-26 Thread lem0nify
@lscrd Yes I can do it and I already found it by myself in a few minutes after I've created this topic. But I found it an absolutely ugly workaround. So I just uninstalled nim forever in few minutes more. : ^)

Proposal: Renaming imported symbols

2020-07-25 Thread lem0nify
Let's imagine we have two modules (from different developers) and their both purposes are to extend some standard type (e.g. string). These two modules have procedures with the same signature but different logic: # mod1.nim proc greeting*(name: string): string = name & ", hello