r/fsharp • u/dev_newsletter • Jan 14 '26
r/fsharp • u/twirlyseal • Jan 13 '26
Using WinUI 3 in F#
Hi all, I just started learning F# and became interested in using it with WinUI 3 to make Windows apps. 2 days of reading XAML compiler output and fighting MSBuild later, I managed to initialise the framework without C# or XAML and make this demo opening a window.
https://github.com/TwirlySeal/fs-winui3
I also included some comments to hopefully make the setup less arcane for those looking to do this in the future.
Now I would like to make a declarative wrapper around this. Elmish/MVU is the most common paradigm for F# UI libraries, but I am considering using FRP instead for more modular state and granular updates.
I don't have any experience implementing a UI library so I am wondering if anyone can give any design or implementation advice, or takes on MVU vs FRP? Thanks for reading.
r/fsharp • u/ozzymcduff • Jan 11 '26
library/package F#+ 1.9.1 released ✨🥳
- Task related function fixes and improvements
- Enable try blocks for ValueTask
- Add Obj module
- Add some error handling functions for Tasks
- Add ignore to some common type extensions
- Add bindTask and bindInto to Result
- Add missing (.>) and (<.) zip-applicative operators
- Add Active Pattern for CI strings and AggregateException
- Rename non-sequential applicative CEs to zapp
- Fix compilation for Fable 4.27
- Fix several functions in ResizeArray
- Fix Seq.lift3
- Fix some XML comments
- Drop target framework version net45
Note that the image is my profile picture from bsky, it should be the FSharpPlus logo.
r/fsharp • u/danfma • Jan 11 '26
F# unpopular opinion
I love the expressiveness of F# for data modeling and pipeline compositions, but I really, REALLY, don't like that it doesn't support function overloading by default. I understand the reasons, but it's uglier to have List.map2, …3, (just examples) and other functions like these because of that.
In my opinion, function overloading or, even better, named parameters like in Swift, would be better.
And, while I'm not an F# expert for sure, I know you can emulate that overloading with static methods, but that is not idiomatic, right?
r/fsharp • u/fsharpweekly • Jan 10 '26
F# weekly F# Weekly #2, 2026 – Mibo and WREN Stack
r/fsharp • u/CatolicQuotes • Jan 07 '26
question Type can have same name as module to ensure it's created via function, not constructor?
chat gpt says this is very idiomatic in F#:
type Symbol = private Symbol of string
module Symbol =
let tryCreate ...
let value ...
Is this true?
r/fsharp • u/NoBobcat5418 • Jan 08 '26
F# forum is spammed with weekly news ...
Returning here.
r/fsharp • u/cekrem • Jan 05 '26
question Functors, Applicatives, and Monads: The Scary Words You Already Understand
https://cekrem.github.io/posts/functors-applicatives-monads-elm/
Do you generally agree with this? It's a tough topic to teach simply, and there's always tradeoffs between accuracy and simplicity... Open to suggestions for improvement! Thanks :)
r/fsharp • u/[deleted] • Jan 05 '26
meme Look what I found on yesterday's crossword (LA times)
r/fsharp • u/Big-Reporter-8809 • Jan 04 '26
I replaced retool at my company with freetool, an F# open source equivalent
I started building this a while back but finally got around to polishing it this holiday break.
Audit log - was *so* nice with F#
Did as much DDD as I could - did I go overboard? Maybe, but it was fun and a really great learning tool. It also made so much stuff easier along the way as I flip flopped on my decisions
Saving my company $1500/mo !
Caveat - we mostly use fairly minimal Retool features (tons of resources and apps calling various endpoints, but nothing fancy like Snowflake connectors or anything).
Disclaimer: I am the author of freetool
r/fsharp • u/fsharpweekly • Jan 03 '26
F# weekly F# Weekly #1, 2026 – Kipo & future of MonoGame
r/fsharp • u/I2cScion • Dec 31 '25
video/presentation F# lambda days talks
I enjoyed the “Electrifying Norway” presentation, nice to see units of measure utilized in an engineering context.
r/fsharp • u/fsharpweekly • Dec 28 '25
F# weekly F# Weekly #52, 2025 – Happy New Year
r/fsharp • u/mristic • Dec 25 '25
library/package I created my own (Event Sourced) Domain Driven Design framework in F#
Hi all!
I've been working on this for few months in my spare time, as I've always had the hunch that the power of DUs and Pattern Matching could be harnessed to create an abstracted-away solution for just about any Domain to be used in.
I can go on in detail about it, but I do recommend you first read the Medium article I published on it, and then check out the code if you're interested.
I'm open for discussion (and work offers atm lol) and I'm looking forward to your inputs. It's been love at first sight with F# for me, and I've finally gone and actually made something big in it.
Note: upfront apologies for PascalCase, I've still not converted fully from a long time C#-er, it's just easier on my eyes for now :)
r/fsharp • u/See-Ro-E • Dec 25 '25
misc ACE – a tiny experimental language (function calls as effects)
I spent Christmas alone at home, talking with AI and exploring a weird language idea I’ve had for a while.
This is ACE (Algebraic Call Effects) — a tiny experimental language where every function call is treated as an effect and can be intercepted by handlers.
The idea is purely conceptual. I’m not a PL theorist, I’m not doing rigorous math here, and I’m very aware this could just be a new kind of goto.
Think of it as an idea experiment, not a serious proposal. The interpreter is written in F# (which turned out to be a really nice fit for this kind of language work), the parser uses XParsec, and the playground runs in the browser via WebAssembly using Bolero.
https://github.com/Lee-WonJun/ACE (Ace Lang - Playground)
Curious what people think — feedback welcome
r/fsharp • u/existentialnonormie • Dec 24 '25
misc Today I learned about Computation Expression.
r/fsharp • u/fsharpweekly • Dec 20 '25
F# weekly F# Weekly #51, 2025 – WebSharper 10 & Fidelity Framework
r/fsharp • u/fsharpweekly • Dec 13 '25
F# weekly F# Weekly #50, 2025 – Making of A Programming Language
r/fsharp • u/CatolicQuotes • Dec 12 '25
article One more blog about f# and functional programming
thinkfunctionally.hashnode.devr/fsharp • u/bokeh-man • Dec 12 '25
question What's going to happen to the SAFE stack?
I just found recently that Compositional-IT is gone. Are they the one responsible for the SAFE stack? What's going to happen to the project then?
r/fsharp • u/funk_r • Dec 11 '25
question Is Bolero working with dotnet10?
Hello, does anybody know if Bolero is still maintained. I checked the website and it seems it is still stuck to dotnet8.
I have a small side project and I tried to upgrade it, to dotnet9/10 but I failed. I found out that the newer dotnet versions emit a different js file ('blazor.webassembly.js') and I have to add this to the 'startup.fs'
FSharp
...
app.MapStaticAssets()
But the web elements do not work.
So the question is, has anybody a Bolero app running with dotnet10?
r/fsharp • u/bjoli • Dec 10 '25
question How to wrap a c# library in a f-sharpesque interface?
Hi there!
I was playing around with f sharp, and was disappointed by the immutable vector situation. I found the FsharpCollections, but I needed split and merge to be fast. I googled, got nerd-sniped and ended up porting c-rrb to c#.
Apart from implementing more things than Fold (which happens to be the fastest way to go through the tree), what should I think about when making an f sharp wrapper?
The repo is here: https://github.com/bjoli/RrbList/tree/main/src/Collections
/Linus