class library: patterns: override asStream method inherited from Prout.

This is necessary because Prout calls the function directly. It may have been better to make Pspwaner a subclass of pattern instead, but this is less invasive.