With a 5 month old and a cat, I can very much relate to this.
With a 5 month old and a cat, I can very much relate to this.
Only 4 slots left in the main timeline #fsharp #FsAdent
Dealing with some C# at work. Not convinced nullables made anything simpler in the language, just encountered Ok(null!).
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.
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)
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
#fsharp meetup in Oslo next Thursday, come join! (Mostly in Norwegian though) www.meetup.com/oslofsharp/e...
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.
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.
Tomorrow is the first day of #Fsharp #Fsadvent 🎄https://sergeytihon.com/2024/10/26/f-advent-calendar-in-english-2024/