FIO 0.1.0-alpha
This is a prerelease version of FIO.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package FIO --version 0.1.0-alpha
NuGet\Install-Package FIO -Version 0.1.0-alpha
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="FIO" Version="0.1.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="FIO" Version="0.1.0-alpha" />
<PackageReference Include="FIO" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add FIO --version 0.1.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FIO, 0.1.0-alpha"
#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.
#:package FIO@0.1.0-alpha
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=FIO&version=0.1.0-alpha&prerelease
#tool nuget:?package=FIO&version=0.1.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<div align="center"> <a href="https://github.com/fs-fio/fio/"> <img src="assets/images/fio_logo_wide.png" width="auto" height="200" alt="FIO"> </a>
<p><strong>A type-safe, purely functional effect system for F#</strong></p> </div>
IO monad + fibers for building concurrent F# applications.
Install
dotnet add package FIO
Quick Start
open FIO.DSL
open FIO.App
open FIO.Console
type App() =
inherit FIOApp<unit, exn>()
override _.effect = fio {
do! Console.printLine "What is your name?" id
let! name = Console.readLine id
do! Console.printLine $"Hello, {name}!" id
}
[<EntryPoint>]
let main _ = App().Run()
More in examples/.
Features
- Effects — lazy, composable
FIO<'A, 'E>with typed errors - Fibers — green threads for scalable concurrency
- Channels — typed message passing between fibers
- Composition —
fio { }CE, operators (>>=,<&>,<|>), combinators - Modules —
Console
Packages
| Package | Description |
|---|---|
FIO |
Core — effects, fibers, channels, runtimes |
FIO.Http |
HTTP server (Kestrel) |
FIO.Sockets |
TCP sockets |
FIO.WebSockets |
WebSockets |
Contributing
Issues and pull requests welcome.
License
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- FSharp.Core (>= 10.1.301)
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 |
|---|