's Avatar

@larsfk

22
Followers
139
Following
8
Posts
10.02.2024
Joined
Posts Following

Latest posts by @larsfk

With a 5 month old and a cat, I can very much relate to this.

14.01.2026 14:24 👍 0 🔁 0 💬 0 📌 0

Only 4 slots left in the main timeline #fsharp #FsAdent

20.11.2025 07:00 👍 7 🔁 3 💬 1 📌 0

Dealing with some C# at work. Not convinced nullables made anything simpler in the language, just encountered Ok(null!).

23.09.2025 05:52 👍 0 🔁 0 💬 0 📌 0

Today, I dealt with code that validates whether a building has duplicate functions assigned to it, as in ways of using a building.

Turns out we had duplicate functions, the code ones, for dealing with this.

27.06.2025 11:48 👍 1 🔁 0 💬 0 📌 0

Depending on the first character, the custom operator is either left or right assosiative, which means these two actually end up different😀 (2 vs 0)

22.01.2025 08:00 👍 1 🔁 0 💬 1 📌 0

Recently learned something new about custom operators in F#, so here is the #fsharp quiz of the day: what is the value of x and y under?

let (^-) a b = a - b
let (/-) a b = a - b

let x = 3 ^- 2 ^- 1
let y = 3 /- 2 /- 1

21.01.2025 20:52 👍 1 🔁 0 💬 1 📌 0
Preview
Januarmeetup hos Norkart, Thu, Jan 9, 2025, 5:30 PM | Meetup The presentations will be in Norwegian. Velkommen til F#-meetup hos Norkart! Har du en lyntale i magen så tar gjerne kontakt med Bjørn Einar på bjartnes@gmail.com eller L

#fsharp meetup in Oslo next Thursday, come join! (Mostly in Norwegian though) www.meetup.com/oslofsharp/e...

02.01.2025 18:02 👍 2 🔁 2 💬 0 📌 0

There are some hints in the task that this might be the case, so I gave it a shot and it worked! But it is true that it doesn't solve for all inputs.

06.12.2024 07:13 👍 1 🔁 0 💬 0 📌 0

A cheeky List.sortWith came in handy during today's #adventofcode in #fsharp. In the end I also realized that part A could be simplified to checking whether a sort changes anything.

05.12.2024 14:59 👍 8 🔁 1 💬 1 📌 0
Preview
F# Advent Calendar in English 2024 Can you believe it’s that time of year again? 🎅🏻 Christmas is just around the corner, and we’re gearing up for the 11th annual F# Advent in English! It’s hard to believe that our …

Tomorrow is the first day of #Fsharp #Fsadvent 🎄https://sergeytihon.com/2024/10/26/f-advent-calendar-in-english-2024/

30.11.2024 09:19 👍 17 🔁 8 💬 0 📌 0