fixed up NodeSequence (I think)
implemented #map using #define (an experiment)