Sixstring982 (@Sixstring982) header
Sixstring982 (@Sixstring982) profile picture

Computer dad

Albuquerque
Joined August 2011
Argentina vs. Cape Verde: The Unstoppable Force vs The Immovable Object
44
Basically you're modifying the type, which can be used to prove some properties of it:
2
1
3
56
These numbers are what I remember from this James Hoffman video: youtu.be/etnMr8oUSDo?si=r2Y3…
34
Replying to @teej_dv
That album has so many good samples! Here's a great short documentary on the album, I bet you'd enjoy it! youtu.be/2ZXLyeatI0s?si=HlUf…
16
Pretty straightforward Advent of Code this evening! Part 2 seemed even easier than part 1 (especially when operating on linked lists)! Something tells me this is going to be the last camel puzzle -- but it won't be last OCaml puzzle!
2
1
5
767
Advent of Code part 2 is trickier than it seems tonight! I'm gonna have to think about it. Luckily part 1 was pretty straightforward. Happy haunting!
2
1
7
484
Finally, a camel themed Advent of Code problem! Definitely a little bit of work for this one, but at least it didn't involve any brute forcing or fancy algorithms. #AdventOfCode #OCaml
2
1
6
529
Ever wish OCaml had list comprehensions? Well, it kind of does! The trick is to bind (let*) to List.concat_map. Here's an example which generates a list of all (int * int * int)s which sum to 100:
4
7
3
43
5,300
Gotta be careful with TypeScript unions! In particular, the `in` keyword can lead to trouble. One of the easiest ways to avoid this situation is to use a tagged union.
3
1
9
1,414
My contributions for this Thanksgiving: * Egg Nog: youtu.be/sflZWeCjdco?si=gZtv… * Mac and cheese: youtu.be/9iP1QXFWYkA?si=DF9N… * Smoking Bishop: youtu.be/qJJvIbKo1DI?si=uxcW… Thanks to @aragusea and @How2Drink for fattening up my family
2
101