TakeWhile protect calls to predicate
Merge pull request #220 from johngmyers/takewhile-predicate

TakeWhile protect calls to predicate