TDesu.FSharp
1.0.0
See the version list below for details.
dotnet add package TDesu.FSharp --version 1.0.0
NuGet\Install-Package TDesu.FSharp -Version 1.0.0
<PackageReference Include="TDesu.FSharp" Version="1.0.0" />
<PackageVersion Include="TDesu.FSharp" Version="1.0.0" />
<PackageReference Include="TDesu.FSharp" />
paket add TDesu.FSharp --version 1.0.0
#r "nuget: TDesu.FSharp, 1.0.0"
#:package TDesu.FSharp@1.0.0
#addin nuget:?package=TDesu.FSharp&version=1.0.0
#tool nuget:?package=TDesu.FSharp&version=1.0.0
TDesu.FSharp
Practical F# utility library. Extends FSharp.Core with the functions you keep rewriting.
No Haskell jargon. Clear names. Inline everything.
Install
dotnet add package TDesu.FSharp
What's Inside
| Namespace | Highlights |
|---|---|
TDesu.FSharp |
^ (apply), % (ignore), always, tee, icast/ecast, Guard, UnixTime, String, Option, Result |
TDesu.FSharp.Builders |
result { }, option { }, taskResult { } computation expressions |
TDesu.FSharp.Tasks |
Task.map/bind/zip/zip3/catch, TaskResult.*, TaskGroup, Task.parallelThrottle, Task.fireAndForget |
TDesu.FSharp.Collections |
Dictionary.tryGetValue, ResizeArray.*, Seq.tryMax/tryMin/tryAverage, Stack.* |
TDesu.FSharp.Concurrency |
AtomicInt64, BoundedDict, BoundedQueue, Signal, PeriodicTimer, ChannelWorker, SlidingWindowLimiter |
TDesu.FSharp.Resilience |
Retry.withBackoff, CircuitBreaker, Timeout.afterLinked, Memoize.withTtlAsync, Saga.run |
TDesu.FSharp.IO |
Env.getVar/requireVar, Disposable.deferStack, TemporaryFileStream, File/Directory helpers |
TDesu.FSharp.Buffers |
Bytes.xor/concat/constantTimeEquals, ArrayPool.useBytes |
TDesu.FSharp.Hashing |
ContentHash.sha256Hex/md5Hex/sha1Hex, Hash.combine2/3/4 |
TDesu.FSharp.ActivePatterns |
Parse.Int/Double/Guid/Bool, String.NullOrWhiteSpace/Empty |
TDesu.FSharp.Types |
NonEmptyString, ApiResponse |
TDesu.FSharp |
Validation (applicative with and!), StateMachine, Clock/FakeClock, NumericParsing |
Quick Example
open TDesu.FSharp
open TDesu.FSharp.Builders
open TDesu.FSharp.Resilience
let getUser (http: HttpClient) (userId: string) = taskResult {
let! user =
Retry.withBackoff 3 (TimeSpan.FromMilliseconds 500.0) ct (fun () ->
http.GetFromJsonAsync<User>($"/api/users/{userId}"))
|> Task.catch
|> TaskResult.mapError (fun ex -> $"fetch failed: {ex.Message}")
do! Result.requireTrue "user inactive" user.IsActive
return user
}
Links
License
Unlicense -- public domain.
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- FSharp.Core (>= 10.0.103)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on TDesu.FSharp:
| Package | Downloads |
|---|---|
|
TDesu.Telegram.TL
TL (Type Language) schema parser and AST for Telegram |
|
|
TDesu.Telegram.Transport
MTProto TCP/intermediate transport — frame codec + TCP socket adapter. Used by clients to talk to MTProto endpoints. |
|
|
TDesu.Telegram.Protocol
MTProto protocol core — encrypted/unencrypted message framing, session state, auth key Diffie–Hellman exchange, RPC dispatcher, and high-level client. Builds on TDesu.Telegram.Transport for TCP and TDesu.Telegram.Crypto for AES/RSA. |
|
|
TDesu.Telegram.Serialization
TL (Type Language) binary serialization for Telegram MTProto: pooled buffers, computation expression builder, typed parsers, generated types. |
|
|
TDesu.Telegram.Crypto
Cryptographic primitives for Telegram MTProto 2.0: AES-IGE, Diffie-Hellman, RSA, key derivation. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.1.0 | 1,628 | 4/10/2026 |
| 1.0.0 | 103 | 4/4/2026 |
| 0.0.0-alpha.0.8 | 149 | 4/4/2026 |
| 0.0.0-alpha.0.5 | 48 | 4/4/2026 |
| 0.0.0-alpha.0.2 | 63 | 4/4/2026 |