FSharp.Control.R3 0.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FSharp.Control.R3 --version 0.1.0                
NuGet\Install-Package FSharp.Control.R3 -Version 0.1.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="FSharp.Control.R3" Version="0.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FSharp.Control.R3 --version 0.1.0                
#r "nuget: FSharp.Control.R3, 0.1.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 FSharp.Control.R3 as a Cake Addin
#addin nuget:?package=FSharp.Control.R3&version=0.1.0

// Install FSharp.Control.R3 as a Cake Tool
#tool nuget:?package=FSharp.Control.R3&version=0.1.0                

FSharp.Control.R3

Extensions and wrappers for using R3 with F#.


Builds

GitHub Actions
GitHub Actions
Build History

NuGet

Package Stable Prerelease
FSharp.Control.R3 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 <optional buildtarget> // on windows
$ ./build.sh  <optional buildtarget>// on unix

The bin of your library should look similar to:

$ tree src/FSharp.Control.R3/bin/
src/FSharp.Control.R3/bin/
└── Debug
    └── net8.0
        ├── FSharp.Control.R3.deps.json
        ├── FSharp.Control.R3.dll
        ├── FSharp.Control.R3.pdb
        └── FSharp.Control.R3.xml


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

git init
git add .
git commit -m "Scaffold"
git branch -M main
git remote add origin https://github.com/fsprojects/FSharp.Control.R3.git
git push -u origin main

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.

Here's an example of adding an "Unreleased" section to a CHANGELOG.md with a 0.1.0 section already released.

## [Unreleased]

### Added
- Does cool stuff!

### Fixed
- Fixes that silly oversight

## [0.1.0] - 2017-03-17
First release

### Added
- This release already has lots of features

[Unreleased]: https://github.com/fsprojects/FSharp.Control.R3/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/fsprojects/FSharp.Control.R3/releases/tag/v0.1.0
  • You can then use the GitRelease target, specifying the version number either in the RELEASE_VERSION environment variable, or else as a parameter after the target name. This will:
    • update CHANGELOG.md, moving changes from the Unreleased section into a new 0.2.0 section
      • if there were any prerelease versions of 0.2.0 in the changelog, it will also collect their changes into the final 0.2.0 entry
    • make a commit bumping the version: Bump version to 0.2.0 and adds the new changelog section to the commit's body
    • push a git tag

macOS/Linux Parameter:

./build.sh Release 0.2.0

macOS/Linux Environment Variable:

RELEASE_VERSION=0.2.0 ./build.sh Release
  • The Github Action will handle the new tag:
    • publish the package to NuGet
    • create a GitHub release for that git tag, upload release notes and NuGet packages to GitHub

Releasing Documentation

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 is compatible.  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.
  • .NETStandard 2.0

    • R3 (>= 1.2.9)
  • net8.0

    • R3 (>= 1.2.9)

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.3.0 71 12/23/2024
0.2.0 109 11/22/2024
0.1.0 99 11/20/2024

## [0.1.0] - 2024-11-18

First pre-release

[0.1.0]: https://github.com/fsprojects/FSharp.Control.R3//releases/tag/v0.1.0

### Added
- Initial implementation of the library
- `map`, `iter` and `length` functions

[0.1.0]: https://github.com/fsprojects/FSharp.Control.R3/releases/tag/v0.1.0