let greeting = "Hello from F#!"
printfn "%s" greetingHello from F#!
Kurt Mueller
March 29, 2026
This is a sample blog post written as a Jupyter notebook using the F# kernel. Let’s start with a simple example.
F# is a functional-first language that runs on .NET. It’s great for data exploration, scripting, and building robust applications.
Here’s a quick example of pattern matching:
type Shape =
| Circle of radius: float
| Rectangle of width: float * height: float
let area shape =
match shape with
| Circle radius -> System.Math.PI * radius * radius
| Rectangle (width, height) -> width * height
let shapes = [ Circle 5.0; Rectangle (3.0, 4.0) ]
shapes
|> List.iter (fun s -> printfn "%A has area %.2f" s (area s))Circle 5.0 has area 78.54
Rectangle (3.0, 4.0) has area 12.00