Fixing Until, Take
authorTom Jackson <tjackson@fb.com>
Fri, 2 Aug 2013 20:51:47 +0000 (13:51 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 28 Aug 2013 21:30:11 +0000 (14:30 -0700)
commit524798534d1a04ba4ce482af65acb127e0db3dfd
tree5bd4576824ff2913bcdc323c62dfe84bea930e11
parentd82103b898d2c831ee86a17f57656cad22e99fb1
Fixing Until, Take

Summary:
`apply()` returns false if and only if the handler it was //directly//
passed returned false. `Take` didn't do this right, and `Until` was just broken.

Test Plan: More thorough unit tests.

Reviewed By: kittipat@fb.com

FB internal diff: D913185
folly/experimental/Gen-inl.h
folly/experimental/test/GenTest.cpp