r/fsharp • u/fsharpweekly • 21h ago
F# weekly F# Weekly #47, 2026 – Aspire 17 & NuGet staging publishing
This is a monthly thread to share what you've been working on in F#. Be proud! Shameless plugs and braggery encouraged. Links allowed (but not required)
r/fsharp • u/statuek • Jun 07 '20
This group is geared towards people interested in the "F#" language, a functional-first language targeting .NET, JavaScript, and (experimentally) WebAssembly. More info about the language can be found at https://fsharp.org and several related links can be found in the sidebar!
r/fsharp • u/fsharpweekly • 21h ago
r/fsharp • u/gangning • 2d ago
nanoql is an open-source quantitative finance library whose instruments, curves and models are immutable values and whose pricers are plain functions of them, so it fits F# as it is. A five-year SOFR swap:
#r "nuget: NanoQL"
open NanoQL
open NanoQL.Indexes
open NanoQL.Instruments
open NanoQL.PricingEngines
open NanoQL.TermStructures
open NanoQL.Time
let today = Date(15, Month.October, 2026)
let context = EvaluationContext(EvaluationDate = today)
let curve = FlatForward(today, 0.036, Actual365Fixed())
let swap =
MakeOIS(Period(5, TimeUnit.Years), Sofr(curve))
.WithFixedRate(0.036)
.WithNominal(10e6)
.ToOvernightIndexedSwap(context)
let result = DiscountingSwapEngine.Calculate(swap, context, curve)
printfn "NPV %s, fair rate %s" (result.NPV.Value.ToString "N2") (result.FairRate.Value.ToString "P4")
// NPV 7,041.24, fair rate 3.6154%
It runs as a script with dotnet fsi. It's derived from QuantLib 1.44 and checked against it output by output:
how. nanoql.org · Apache-2.0
r/fsharp • u/onurgumusdev • 6d ago
r/fsharp • u/fsharpweekly • 7d ago
r/fsharp • u/fsharpweekly • 14d ago
r/fsharp • u/fsharpweekly • 20d ago
r/fsharp • u/Emergency-Energy-277 • 24d ago
When recruiting contributors for Fabulous on LinkedIn, Reddit and elsewhere, I was surprised it was still largely unknown even among .NET MAUI and Avalonia developers. I suspect the same is true for other F# technologies.
Those who like F#, please spread the word about F# and your favourite F# technology wherever you can — LinkedIn, Facebook, Reddit, other social media, or by slipping a mention into your YouTube/TikTok videos. Don’t worry if the audience doesn’t seem to be ideal; you never know where a share/repost will land.
I know I should lead by example. Here https://youtu.be/ualntLxTslg is a short YouTube video (from Norway) with Fabulous and F# mentions smuggled in twice (at the start and at the end of the video).
r/fsharp • u/fsharpweekly • 28d ago
r/fsharp • u/azekeP • Oct 22 '26
r/fsharp • u/namigop • Oct 22 '26
r/fsharp • u/jcm95 • Oct 18 '26
Just curious, I always liked the language
r/fsharp • u/fsharpweekly • Oct 17 '26
r/fsharp • u/fun_si • Oct 15 '26
An F# async { } doesn't run until something starts it, while a Task or a Promise is already running by the time you get it back. The article goes through the bugs that come from mixing the two up, and the upside: retries, timeouts and racing written as ordinary functions over Async, compared with what C# and TypeScript need for the same thing.
It also covers Fable now that task { } compiles to a promise, including a few things that compile but fail when the module loads in 5.21 (Async.StartAsTask, Async.Choice, Async.OnCancel, Task.Delay), and the Async.StartTaskImmediate and Async.Await additions coming in FSharp.Core 11.
r/fsharp • u/mxreal64 • Oct 14 '26
hello, r/fsharp,
i found out that F# exists about a month ago, and coming from C++ and C#, i think its an extremely good language for highly mathematical/theory dependent things cuz its literally functional and has the dotnet runtime behind it.
i built a VCS in F# that is aimed at usage by AI agents because git is built for people who move at human speeds, which makes it incredibly inefficient to use for agents.
r/fsharp • u/fsharpweekly • Oct 10 '26
r/fsharp • u/Jwosty • Oct 05 '26
Hello, everyone! It's been a while since we've had one of these posts. Time to start them back up!
This is a monthly thread to share what you've been working on in F#. Be proud! Shameless plugs and braggery encouraged. Links allowed (but not required)
r/fsharp • u/fsharpweekly • Oct 03 '26
r/fsharp • u/fun_si • Oct 01 '26
FunStripe is an F# client for the Stripe API. Most of it is generated from Stripe's OpenAPI spec into records and DUs, with phantom-typed IDs (StripeId<Markers.Customer>) and Async<Result<_, _>> calls. 3.0.0 targets Stripe's new endive release, which removes some things, hence the major bump.
Breaking changes
payment_method_types is gone from PaymentIntent create/update/confirm, SetupIntent create/update and Checkout Session create. Use allowedPaymentMethodTypes instead.ThreeDSecureUsage and ThreeDSecureDetailsCharge moved to Stripe.ThreeDSecure, so add an open.Mandate field is now StripeId<Markers.Mandate> option.New: standalone 3D Secure authentication, subscription pausing, trial offers, Tax.Location, Apps installs, and the PayPay and SeQura payment methods.
Generator fixes worth mentioning
error enum value. A bare Error case shadowed Result.Error for anyone opening the namespace, so ok/error/some now generate as Ok'/Error'/Some', the same way none already became None'.Full upgrade notes are in the changelog: https://github.com/simontreanor/FunStripe/blob/main/CHANGELOG.md
GitHub: https://github.com/simontreanor/FunStripe
NuGet: https://www.nuget.org/packages/FunStripe.Core
Feedback and issues welcome.
r/fsharp • u/fun_si • Oct 01 '26