's Avatar

@larsfk.bsky.social

21 Followers  |  117 Following  |  6 Posts  |  Joined: 10.02.2024  |  1.4767

Latest posts by larsfk.bsky.social on Bluesky

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 β€” πŸ‘ 18    πŸ” 9    πŸ’¬ 0    πŸ“Œ 0

@larsfk is following 20 prominent accounts