anchor.diff:  ﻿namespace Paket
   
   module DependenciesFileParser =
  +    open System.Numerics
       open System
       open System.IO
       open Requirements
  
positive.code:                 let v2 = SemVer.Parse v2
                  VersionRequirement(VersionRange.Range(VersionRangeBound.Including,v1,v2,VersionRangeBound.Including),parsePrerelease [v1; v2] rest)
              |  "~>" :: v1 :: ">=" :: v2 :: rest -> 
                  let v1 = SemVer.Parse(twiddle v1)
                  let v2 = SemVer.Parse v2
                  VersionRequirement(VersionRange.Range(VersionRangeBound.Including,v2,v1,VersionRangeBound.Excluding),parsePrerelease [v1; v2] rest)
              |  "~>" :: v1 :: ">" :: v2 :: rest ->
                  let v1 = SemVer.Parse(twiddle v1)
                  let v2 = SemVer.Parse v2
                  VersionRequirement(VersionRange.Range(VersionRangeBound.Excluding,v2,v1,VersionRangeBound.Excluding),parsePrerelease [v1; v2] rest)
              |  ">" :: v1 :: "<" :: v2 :: rest -> 
  
negative.code:                     VersionRequirement(VersionRange.Maximum v,parsePrerelease [v] rest)
                  | "~>", minimum :: rest -> 
                      let v1 = SemVer.Parse minimum
                      VersionRequirement(VersionRange.Between(minimum,twiddle v1),parsePrerelease [v1] rest)
                  | _, version :: rest -> 
                      let v = SemVer.Parse version
                      VersionRequirement(VersionRange.Specific v,parsePrerelease [v] rest)
  