#F-Sharp
11 notas · última:
F# |> I <3 | Pirrmann's train of thought
The author says F# has changed how he writes C# and that he has now moved to F# at work. He then shows an F# solution for uncertain numbers using a wrapped type, tests, a generic combine function, and operator overloading.
There and Back Again
The author compares C# and F# through a bank-account withdrawal app, showing how immutability in F# keeps data changes separate from persistence, while C# needs extra care with Entity Framework tracking.
Introduction to F#: A Language for Functional Programming
F# is presented as a functional-first .NET language that combines functional, imperative, and object-oriented styles, with immutability, pattern matching, async support, and strong interoperability.
F# Advent of Code 2023: A random walk in the direction of functional enlightenment
The post follows Scott’s refactoring of old Grace CLI code to make it more idiomatic F#, showing how smaller functions, less duplication, and monadic bind improve clarity while exposing older bugs.
Minimising cognitive load in F#
The post lists F# habits that make code easier to read by reducing cognitive load: isolate implementation details, use modules and names well, simplify matches, and avoid overly terse styles.
Resources for F# Onboarding
Curated links for learning F#, covering official docs, functional programming, code architecture, testing, performance, and people to follow on Twitter.
My reasons to love F#
The page lists reasons to like F#: cross-platform open source support, interactive exploratory work, functional style, immutability, clarity, prototyping, productivity, distribution, concurrency, syntax, community, and learning resources.
The magic of type providers
The page explains how F# type providers let you work with JSON, SQL, HTML, and even R with static typing, autocomplete, and compile-time schema checks without writing data models.
Starting Xamarin Android application development with F#
The post describes setting up a Xamarin Android project in F#, using a PCL to share app logic, and the emulator and device deployment issues the author had to solve.
Image processing with comonads and phantom types
The page shows how a 2D image comonad can express neighborhood-based filters, then uses phantom types to prevent expensive compositions and keep array-based performance.
Making DSLs in F#
The article shows how F# can be used to build a simple DSL for software estimation, with project, resource, group, task, and prepare statements that generate a Microsoft Project plan.
