Hmm. I guess it's just weird to me that Map isn't by itself but Inject is. But from another perspective, that makes sense, because Map is a stream and Inject isn't.


Let's just leave it this way for now. :)
—
Sent from Mailbox for iPhone

On Tue, Apr 23, 2013 at 7:22 AM, Callum Stott <notifications@github.com>
wrote:

>>      end
>>  
>>      def map(&blk)
>>        Map.new(self, &blk)
>>      end
>> +    
>> +    def inject(start, &blk)
>> +      Inject.new(self, start, &blk)
>> +    end
>> +  end
>> +  
>> +  private 
>> +  
>> +  class Map < Stream
> I was avoiding circular require and I also felt it made sense to encapsulate the class within Stream. Maybe it should be nested?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/steveklabnik/frappuccino/pull/5/files#r3909838