would'nt be hard to do something like this?
    
    
    var n: NimNode = ...
    assert n.kind in nnkLiterals
    
    
    Run

sure new style variants has better syntax, but I don't feel good about it.

Reply via email to