Dear OCaml people, what is a good way to print the value of any variable, like a list or something? I’m having trouble finding out the value of stuff in the middle of a bunch of List.map or List.filter expressions. Ideally I’d like something simple that I can just pipe the value to to print it
Robin Arys
Robin Arys
@zedutch.bsky.social
Computer Science Engineer by day, Indie game developer by night. Sometimes also a musician around dusk. He/him.
669 followers82 following43 posts
Day 1 of #AdventOfCode: check! First Elixir, went very smooth, then rewrote in OCaml. That was quite a bit harder, but I did manage to get there in the end! Feedback welcome, especially about making things more idiomatic (or easier in the case of OCaml, I really struggled) github.com/zedutch/aoc-...
Robin Arys reposted
It's Dec 1st in UTC so time to unleash the Unofficial #AdventOfCode Participant Survey! 🎄 If you participate in AoC, consider filling out the survey (only once!) at forms.gle/iX1mkrt17c6Z... Feel free to reshare! 💛💛
Uhm, hello @bsky.app ? Seems there’s some issues with rotating the device on iPhone 😅
@bsky.app is the first Twitter-alternative where I actually completely forget it’s not Twitter while scrolling. None of the others ever had that effect on me, they always felt worse to use for some reason
I’m using Odin #odinlang this time, with #raylib so not as from-scratch as usually. Both are new to me. Odin is really nice, it’s a lot like Go with some more quality-of-life stuff. Raylib feels like LibGDX back in the day, I’m not totally convinced yet but it does feel like I might end up liking it
You are up to date.