FsEx 0.11.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FsEx --version 0.11.0                
NuGet\Install-Package FsEx -Version 0.11.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="FsEx" Version="0.11.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FsEx --version 0.11.0                
#r "nuget: FsEx, 0.11.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FsEx as a Cake Addin
#addin nuget:?package=FsEx&version=0.11.0

// Install FsEx as a Cake Tool
#tool nuget:?package=FsEx&version=0.11.0                

FsEx

code size license

Logo

FsEx is an FSharp extension and utility library mostly focused on collections and strings.

It Includes:

  • A thin wrapper over the ResizeArray type called Rarr. It provides structural equality ,additional members and more detailed error messages when the List is used with out of bound indices.
  • A Rarr module that provides all the functions for Rarr that the Array module from FSharp.Core has. Including those for parallel computing.
  • A thin wrapper over the generic Dictionary type called Dict. It provides additional members and more detailed error messages when a given Key is not found.
  • An implementation of defaultdict called DefDict , a dictionary that creates a key when its accessed but missing.
  • A comprehensive module for working with string, including nice error messages.
  • Useful extension members to existing collections like seq, array, Dictionary, Stringbuilder.
  • Computational Expressions for building Rarr, strings, and CSV-files. Like they exist for seq, list and array in FSharp.Core
  • Pretty printing for collections
  • and more ..

See full API documentation on fuget.org

License

MIT

Changelog

0.11.0

  • improve randomness of random color
  • rename Dict and DefaultDict members Add and Set
  • add getOrSetDefault to Dict
  • add String.addPrefix String.addSuffix
  • add Seq.tryFindDuplicate and Seq.duplicates
  • rename Dict.setOnce to Dict.setIfKeyAbsent
  • remove cmp
  • Array.second, Array.last and similar functions
  • better Error messages
  • add IO.createDirectoriesOfFilePath
  • better toNiceString
  • add String.beforeOrInput, .afterOrInput and .betweenOrInput
  • remove dependency on System.Drawing
  • rename Rarr.find to Rarr.findValue
  • add Rarr.getInternalList
  • add Rarr.mapFromIList .mapFromSeq and .mapFromArray
  • add rarr.InternalList to access internal ResizeArray
  • add Rarr.trim
  • prev-this-next for Rarr

0.10.1

  • add MathUtil.interpolateTable function
  • improve NiceString formatting of F# records
  • rename stringbuffer to str
  • improve move and rename String.Truncate functions to NiceFormat module

0.9.0

  • Fix xml doc that was broken in 0.8.0
  • Lower minimum FSharp.Core version to 4.5.2
  • add tryWith,tryFinally and Using to ComputationalExpressionsBuilders
  • fix typos in docstring

0.8.0

  • update Process Module for running external Processes
  • improve float formatting in toNiceString module
  • add more colors for printing via Seff editor
  • fix typos in docstrings

0.7.0

  • Add Process Module for running external Processes
  • Fix Rarr.rotate
  • Add Rarr.isNotEmpty
  • Add IO.getAllFilesInParentsByPattern
  • Typo in Timer μs is actually ms
  • Add String.truncate, skip and take methods

0.5.1

  • Updated Rarr and RarrModule
  • Updated StringModule
  • Improved Exception messages.
  • nicer pretty printing via print function

0.4.0

  • first public release
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FsEx:

Package Downloads
Rhino.Scripting

A complete re-implementation of the RhinoPython scripting syntax for use with F# and C#. For Rhino 6.0 or higher.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.15.0 143 7/5/2024
0.14.1 246 6/18/2023
0.14.0 266 2/26/2023
0.13.1 439 12/3/2022
0.13.0 343 12/3/2022
0.12.0 366 11/25/2022
0.11.0 444 9/25/2022
0.10.1 456 4/3/2022
0.9.0 8,939 1/11/2022
0.8.0 300 12/11/2021
0.7.0 315 10/19/2021
0.5.1 330 8/26/2021
0.4.0 368 4/10/2021

- improve randomness of random color
   - rename Dict and DefaultDict members Add and Set
   - add getOrSetDefault to Dict
   - add String.addPrefix String.addSuffix
   - add Seq.tryFindDuplicate and Seq.duplicates
   - rename Dict.setOnce to Dict.setIfKeyAbsent
   - remove cmp
   - Array.second, Array.last and similar functions
   - better Error messages
   - add IO.createDirectoriesOfFilePath
   - better toNiceString
   - add String.beforeOrInput, .afterOrInput and .betweenOrInput
   - remove dependency on System.Drawing
   - rename Rarr.find to Rarr.findValue
   - add Rarr.getInternalList
   - add Rarr.mapFromIList .mapFromSeq and .mapFromArray
   - add rarr.InternalList to access internal ResizeArray
   - add Rarr.trim
   - prev-this-next for Rarr