My @CppNorth 2024 talk "Composition Intuition II" is now online 🥳 youtube.com/watch?v=Tsa5JK…

Dec 3, 2024 · 5:43 PM UTC

2
2
28
1,217
RepliesRelevant
Replying to @code_report
@code_report @CppNorth Just started watching this.

Why not do the C++ solution the same way as the BQN one? godbolt.org/z/e3ez7bhxo
1
0
4
143
Replying to @BarryRevzin
@BarryRevzin @CppNorth I think at the time I was envisioning the Haskell comparison slide. But this solution is very elegant.
1
0
3
126
Replying to @code_report
@code_report @CppNorth While I'm leaving comments... for example #2. The comment from the audience about not needing drop was correct — there's no extra work here.

Also using Boost.HOF we can get pretty nice, terse operators. Not always possible, but nice when it works out: godbolt.org/z/rEr81oe7W
1
0
3
145