@romain-deneau.bsky.social

📝 New article: Designing a C#-friendly Result type (not just an F# port) The missing union types were the easy part. The real work: implicit conversions, Try-pattern, LINQ query syntax as a result {} block. romain-deneau.hashnode.dev/designing-a-... #csharp #fsharp

Designing a C#-friendly Result type (not just an F# port)

How our mostly-F# team designed a Result type in C# — the missing union types were the easy part; the real work was a C#-idiomatic API.

romain-deneau.hashnode.dev

Major update to the article: • invalid states now unrepresentable in the domain model • a 3rd builder: a CPS continuation monad for if … then return with no else — thanks @borar.bsky.social #fsharp #dotnet #fp

@romain-deneau.bsky.social · 2mo ago

C# developers use early return to avoid nesting. #fsharp doesn't have that — so guard logic keeps adding indentation levels. 📝 New article: how a tiny custom computation {} CE brings early exits back, without giving up functional style. 🔗 romain-deneau.hashnode.dev/a-real-world...

In the #TypeScript world, #TanStackQuery has set the standard: no async in components, declarative loading states, and clean error handling. The #FSharp #SAFEStack reaches the same ergonomics — but the compiler enforces correctness across the entire stack. No URL typos. No serialization mismatches.

What if Your API Calls Were Type-Safe, Auth-Aware, and Translation-Ready — All at Once?

Modern front-end apps juggle three concerns on every server call: fetching data, checking permissions, and loading translations. Most stacks solve each one separately — a fetch library here, an auth m...

linkedin.com

📖 After four months of work, the book “Safe Clean Architecture” is now complete 🎉 🔗 Check it out online. rdeneau.gitbook.io/safe-clean-a... #fsharp #free #e-book

Table of contents (extract)
@romain-deneau.bsky.social · 8mo ago

📢 Announcing the writing of the book “Safe Clean Architecture”, available for free on GitBook to the #dotnet and #fsharp communities, and coming with a demo app already up and running: Shopfoo. 🙏 Thanks to @sergeytihon.com for the #fsadvent calendar. 🔗 rdeneau.gitbook.io/safe-clean-a...