# module A
    
    type
      Person* = object
        user*: string
        age*: int
    
    proc `$`*(p: Person): string = p.user
    
    
    
    # module B
    
    from A import Person
    var x = Person(user: "Gustav Gans", age: 45)
    # oops, bug here, calls system.$ not the $ for Person
    echo x
    

Oops, the "namespace pollution" prevented a bug. Hmmm, maybe we shouldn't 
constantly fight the language. 

Reply via email to