Orsak 0.1.0-beta0047
See the version list below for details.
dotnet add package Orsak --version 0.1.0-beta0047
NuGet\Install-Package Orsak -Version 0.1.0-beta0047
<PackageReference Include="Orsak" Version="0.1.0-beta0047" />
paket add Orsak --version 0.1.0-beta0047
#r "nuget: Orsak, 0.1.0-beta0047"
// Install Orsak as a Cake Addin #addin nuget:?package=Orsak&version=0.1.0-beta0047&prerelease // Install Orsak as a Cake Tool #tool nuget:?package=Orsak&version=0.1.0-beta0047&prerelease
Orsak
eff {
let! line = Effects.Console.readLine()
do! Effect.Console.writeLine $"Hello {line}"
}
Orsak is a library for function effects in F#, allowing pragmatic and composable modelling of side-effects through interfaces. It is inspired by Zio, with F# encoding similar to the approach described by Bartosz Sypytkowski here.
However, Orsak is not intended to be a framework. Rather, it is encouraged and recommended to make use of the existing .NET ecosystem, and Orsak is intended to make that as easy and friction-free as possible. It can be used piecemeal, and introduced to existing codebases in isolated chunks.
This implementation makes use of resumable code to implement the computation expression builder for the lowest possible overhead.
The builder also has various overloads for Bind
, allowing for friction free interop with TaskLike<'a>
, Async<'a>
, Result<'T,'E>
and more.
It supports for
, while
, use
, try-with
and try-finally
, and also applicative bind when the error-type supports +
.
While the computation expression is the intended way of working with effects, the corresponding module should contain all the expected functions.
Main documentation is available at https://johsand.github.io/Orsak/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
-
net6.0
- FSharp.Core (>= 7.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Orsak:
Package | Downloads |
---|---|
Orsak.AspNetCore
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.4.3-beta0022 | 104 | 6/5/2024 |
0.4.3-beta0016 | 99 | 3/8/2024 |
0.4.3-beta0015 | 134 | 1/11/2024 |
0.4.3-beta0014 | 109 | 1/11/2024 |
0.4.3-beta0013 | 93 | 1/11/2024 |
0.4.3-beta0011 | 106 | 1/11/2024 |
0.4.3-beta0007 | 174 | 11/20/2023 |
0.4.3-beta0004 | 121 | 11/20/2023 |
0.4.3-beta0003 | 98 | 11/20/2023 |
0.4.2 | 7,181 | 11/1/2023 |
0.4.2-beta0008 | 76 | 11/1/2023 |
0.4.1 | 1,272 | 10/19/2023 |
0.4.1-beta0002 | 115 | 10/5/2023 |
0.4.1-beta0001 | 117 | 9/29/2023 |
0.4.0 | 896 | 9/19/2023 |
0.3.1-beta0015 | 125 | 9/19/2023 |
0.3.1-beta0014 | 115 | 9/17/2023 |
0.3.1-beta0013 | 113 | 9/17/2023 |
0.3.1-beta0011 | 120 | 5/1/2023 |
0.3.1-beta0010 | 151 | 4/25/2023 |
0.3.1-beta0009 | 156 | 4/24/2023 |
0.3.1-beta0008 | 131 | 4/24/2023 |
0.3.1-beta0007 | 141 | 4/24/2023 |
0.3.1-beta0005 | 148 | 4/22/2023 |
0.3.1-beta0002 | 144 | 4/15/2023 |
0.3.1-beta0001 | 132 | 4/16/2023 |
0.3.0 | 2,012 | 4/15/2023 |
0.2.1-beta0009 | 154 | 4/15/2023 |
0.2.1-beta0008 | 114 | 4/15/2023 |
0.2.1-beta0006 | 145 | 4/13/2023 |
0.2.1-beta0005 | 139 | 4/12/2023 |
0.2.1-beta0004 | 150 | 4/12/2023 |
0.2.1-beta0002 | 137 | 4/11/2023 |
0.2.1-beta0001 | 125 | 4/9/2023 |
0.2.0 | 207 | 4/6/2023 |
0.1.1-beta0006 | 152 | 4/6/2023 |
0.1.1-beta0004 | 148 | 4/6/2023 |
0.1.1-beta0001 | 136 | 4/2/2023 |
0.1.0 | 224 | 3/27/2023 |
0.1.0-beta0049 | 133 | 3/27/2023 |
0.1.0-beta0047 | 162 | 3/25/2023 |
0.1.0-beta0046 | 147 | 3/25/2023 |
0.1.0-beta0029 | 147 | 3/27/2023 |