fix #2779, chained comparisons doc
move collect() to general collections section
a couple doc fixes related to immutability