1. 31 10月, 2019 4 次提交
    • E
      Fix some typos (#7665) · 9be86c23
      Eugene Auduchinok 提交于
      9be86c23
    • G
      Optimize Seq.Last to behave like Seq.Length (incl. tests) (#7765) · 515e15e0
      Goswin 提交于
      * Optimize Seq.Last like Seq.Length
      
      Add type check to Seq.Last and Seq.TryLast to avoid full iteration if not necessary. Like Seq.Length does it at
      https://github.com/dotnet/fsharp/blob/c18e1780b3f3f345364cb1ad8e510ea9f4590d3a/src/fsharp/FSharp.Core/seq.fs#L709
      
      * Add test for Optimized Seq.Last and Seq.TryLast
      
      * style update
      
      * style update 2
      
      * update comments and fix build error
      
      Github Build error was:
       Check failure on line 132 in tests\FSharp.Core.UnitTests\FSharp.Core\Microsoft.FSharp.Collections\SeqModule2.fs
      
      @azure-pipelines
      azure-pipelines
      / fsharp-ci (Build Windows vs_release)
      
      tests\FSharp.Core.UnitTests\FSharp.Core\Microsoft.FSharp.Collections\SeqModule2.fs#L132
      tests\FSharp.Core.UnitTests\FSharp.Core\Microsoft.FSharp.Collections\SeqModule2.fs(132,58): error FS0064: This construct causes code to be less generic than indicated by the type annotations. The type variable 'a has been constrained to be type 'unit'.
      
      * include List.last case
      
      * include list in tests
      
      * ensure same exception is raised on empty list
      
      * typo
      
      * Added implementation of List.last since it is not available at this point due to compilation error
      
      The recursive function could also be defined inside but i guess then it would be reallocated on every call to Seq.Last (in case of list match).
      An alternative would be to add .Last member on list type (like .Length member)
      
      * inline List.last
      
      reverting my previous attempt  https://github.com/dotnet/fsharp/pull/7765/commits/b329e23c543b41b36143fafc77187acc58585471
      tail rec functions should be inlined
      
      * typo in tests(build failed)
      
      * typo2 in test (Build failed)
      
      * move implemnetation to internal module
      
      as suggested by dsyme
      
      * renamed internal tryLast to tryLastV
      515e15e0
    • P
      Voption tostring and other stuff (#7712) · 99849378
      Phillip Carter 提交于
      * Fix some issues in ValueNone implementation
      
      * More debug display
      
      * Some for options in debug display
      
      * Apply suggestions from code review
      Co-Authored-By: NEugene Auduchinok <eugene.auduchinok@gmail.com>
      
      * Probably better stringing
      
      * Add them baselines
      
      * Add sprintfn tests
      
      * Update OptionModule.fs
      99849378
    • B
      update perl test runner (#7779) · cdc391e4
      Brett V. Forsgren 提交于
      cdc391e4
  2. 22 10月, 2019 1 次提交
  3. 19 10月, 2019 1 次提交
  4. 15 10月, 2019 2 次提交
  5. 12 10月, 2019 1 次提交
  6. 09 10月, 2019 1 次提交
  7. 05 10月, 2019 5 次提交
  8. 04 10月, 2019 1 次提交
    • B
      Disable Linux_FCS (#7697) · c29f3a6b
      Brett V. Forsgren 提交于
      A recent update to the `ubuntu-16.04` VM image in ADO causes mono/fake to crash and this is blocking all work.  The MacOS version works and follows an identical code path.
      c29f3a6b
  9. 03 10月, 2019 1 次提交
  10. 02 10月, 2019 1 次提交
  11. 01 10月, 2019 3 次提交
  12. 28 9月, 2019 13 次提交
  13. 27 9月, 2019 3 次提交
  14. 26 9月, 2019 1 次提交
  15. 25 9月, 2019 2 次提交