NstreamSourceStream with efficient n-lookup
type token = {region : Pos.Region.t;token : Approx_lexer.token;newlines : int;between : string Lazy.t;substr : string Lazy.t;offset : int;}Enhanced tokens
Creates a stream from a string. Make sure you don't change the string in-place after calling of_string, or anything could happen
Creates a stream from a channel. Better if you don't want to block, but less efficient