Skip to content

fsprojects/FSharp.Collections.Immutable

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FSharp.Collections.Immutable NuGet Status GitHub Actions

F# bindings for System.Collections.Immutable

Build status

FSharp.Collections.Immutable is a collection of F# bindings for System.Collections.Immutable.

Please contribute to this project. Don't ask for permission, just fork the repository and send pull requests.

Please also join the F# Open Source Group

Features

  • FlatList (ImmutableArray)
  • ImmutableList
  • Stack (ImmutableStack)
  • Queue (ImmutableQueue)
  • HashMap (ImmutableDictionary)
  • SortedMap (ImmutableSortedDictionary)
  • HashSet (ImmutableHashSet)
  • SortedSet (ImmutableSortedSet)
  • IIndexedSeq (IReadOnlyList)

Documentation


Builds

GitHub Actions
GitHub Actions

NuGet

Package Stable Prerelease
FSharp.Collections.Immutable NuGet Badge NuGet Badge

Developing

Make sure the following requirements are installed on your system:

or


Environment Variables

  • CONFIGURATION will set the configuration of the dotnet commands. If not set, it will default to Release.
    • CONFIGURATION=Debug ./build.sh will result in -c additions to commands such as in dotnet build -c Debug
  • ENABLE_COVERAGE Will enable running code coverage metrics. AltCover can have severe performance degradation so code coverage evaluation are disabled by default to speed up the feedback loop.
    • ENABLE_COVERAGE=1 ./build.sh will enable code coverage evaluation

Building

build.cmd // on windows

./build.sh // on unix


Build Targets

  • Clean - Cleans artifact and temp directories.
  • DotnetRestore - Runs dotnet restore on the solution file.
  • DotnetBuild - Runs dotnet build on the solution file.
  • FSharpAnalyzers - Runs BinaryDefense.FSharp.Analyzers.
  • DotnetTest - Runs dotnet test on the solution file.
  • GenerateCoverageReport - Code coverage is run during DotnetTest and this generates a report via ReportGenerator.
  • ShowCoverageReport - Shows the report generated in GenerateCoverageReport.
  • WatchTests - Runs dotnet watch with the test projects. Useful for rapid feedback loops.
  • GenerateAssemblyInfo - Generates AssemblyInfo for libraries.
  • DotnetPack - Runs dotnet pack. This includes running Source Link.
  • SourceLinkTest - Runs a Source Link test tool to verify Source Links were properly generated.
  • PublishToNuGet - Publishes the NuGet packages generated in DotnetPack to NuGet via paket push. Runs only from Github Actions.
  • GitRelease - Creates a commit message with the Release Notes and a git tag via the version in the Release Notes.
  • GitHubRelease - Publishes a GitHub Release with the Release Notes and any NuGet packages. Runs only from Github Actions.
  • FormatCode - Runs Fantomas on the solution file.
  • CheckFormatCode - Runs Fantomas --check on the solution file.
  • BuildDocs - Generates Documentation from docsSrc and the XML Documentation Comments from your libraries in src.
  • WatchDocs - Generates documentation and starts a webserver locally. It will rebuild and hot reload if it detects any changes made to docsSrc files, or libraries in src.

Releasing

NOTE: Its highly recommend to add a link to the Pull Request next to the release note that it affects. The reason for this is when the RELEASE target is run, it will add these new notes into the body of git commit. GitHub will notice the links and will update the Pull Request with what commit referenced it saying "added a commit that referenced this pull request". Since the build script automates the commit message, it will say "Bump Version to x.y.z". The benefit of this is when users goto a Pull Request, it will be clear when and which version those code changes released. Also when reading the CHANGELOG, if someone is curious about how or why those changes were made, they can easily discover the work and discussions.

Releasing Documentation

Maintainer(s)

The default maintainer account for projects under "fsprojects" is @fsprojectsgit - F# Community Project Incubation Space (repo management)

Packages

 
 
 

Languages

  • F# 74.7%
  • CSS 15.4%
  • HTML 7.4%
  • JavaScript 1.9%
  • Dockerfile 0.5%
  • Shell 0.1%