Made parsePackageIndex and updatePackageIndexCacheFile streaming.
The parsePackageIndex wasn't streaming because resulting list was hidden in two constructors: Either and tuple. By removing that error semantics changed in updatePackageIndexCacheFile. The updatePackageIndexCacheFile problem was sequence call that evaluated whole list made by parsePackageIndex. By using lazySequence any error during index file parsing will be raised during writing to cache file. Also removed reacPackageIndexFile, as it wasn't used anywhere as far as I can tell. If this is a mistake I'll include it again.
Please register or sign in to comment