Actually denote when we have infinite generators
authorJoe Richey <jrichey@fb.com>
Tue, 14 Jul 2015 20:50:31 +0000 (13:50 -0700)
committerSara Golemon <sgolemon@fb.com>
Wed, 15 Jul 2015 20:25:11 +0000 (13:25 -0700)
commita1107271b093884b8bb4b4dfd911533a46bae61b
treeb4ba3bc6c8fc627d188a7393ca3aba3ed46f4a0b
parent43d53e0668efb3b1c100949183362b931f979932
Actually denote when we have infinite generators

Summary: Before we didn't do anything at all with the ::infinite value for our
generators, now all the sources operators and sinks are properly notated. The
one signifcant change regarding what is allowed concerns 'cycle' which now (when
called with no arguments) always produces an infinite generator. This is fine
for all but the weirdest of generators fed into cycle.

Reviewed By: @ddrcoder

Differential Revision: D2240328
folly/gen/Base-inl.h
folly/gen/Core-inl.h
folly/gen/test/BaseTest.cpp