altered silly documentation word
code to fmap over a stream; also tightened up foreach a bit