Got working as concepts :) : Just had to change the concept definition to use a 
variable rather than typedef for Map 
    
    
    type Bot* = concept b
      var m: Map
      decide(b, m) is Dir
      b.name is string
      b.key is string
    
    type StatelessBot* = object
      name*: string
      key*: string
    
    

and change the nymph_bot proc for StatelessBot to globally-available 'decide' 
proc: 
    
    
    # In nymph.nim
    # proc nymph_bot(b:StatelessBot, m:Map):Dir =
    proc decide*(b: StatelessBot, m: Map): Dir =
    
    

Reply via email to