anchor.diff:  ﻿namespace MBrace.Streams
   
  +open System.IO
   open System.Collections.Generic
   
   open MBrace
  
positive.code:             |> Cloud.Ignore
      }
              
  
  type CloudVector =
  
      static member OfPartitions(partitions : seq<CloudSequence<'T>>, ?enableCaching : bool) : Cloud<CloudVector<'T>> = cloud {
          let partitions = Seq.toArray partitions
          if Array.isEmpty partitions then invalidArg "partitions" "partitions must be non-empty sequence."
  
negative.code: 
          new ConcatenatedCloudVector<'T>(components) :> CloudVector<'T>
  
      
      /// <summary>
      ///     Creates a CloudVector in file store using a collection of sequences with specified partition size.
      /// </summary>
      /// <param name="values">Inputs values for cloud vector.</param>
      /// <param name="maxPartitionSize">Maximum size in bytes for each vector partition in file store.</param>
      /// <param name="enableCaching">Enable caching for cloud vector instance. Defaults to true.</param>
      static member New<'T>(values : seq<'T>, maxPartitionSize : int64, ?enableCaching:bool) : Cloud<CloudVector<'T>> = cloud {
          let! partitions = CloudSequence.NewPartitioned(values, maxPartitionSize)
          return! CloudVector.OfPartitions(partitions, ?enableCaching = enableCaching)
  