In the last few days I made some substantial advancements in my understanding of the so called continuations in Guile
Continuations have been elusive for years
FIRST @neetx suggested me this course (that can be interesting for more scheme features) and particularly this lecture about the continuations passing style
In this course a version of map is shown written in continuation passing style
I didn't understand it so I followed the SICP advice for when you don't understand a piece of code
I made the substitutions of the labda calculus by hand
So the lecture is here
and my work with the manual substitutions is here
BUT the course doesn't illustrate the relationship between cps and the usage of call/cc
So I found another video where an example of usage of call/cc is shown for implementing a cooperative concurrency system
I didn't watch it all yet but the example is very effective and made me do a real breakthrough in understanding
Why din't I do this investigation earlier ?
Because I was discouraged
Thank you again @neetx
@juliobiason This is a good article about what happened yesterday:
@newt I have a Slimbook with an AMD Ryzen CPU/GPU, so the only way to have a proper support for a dual monitor is to use Gnome Wayland... and I'm a KDE fanboy... 😢
I know that Uncle Bob is not everybody's darling anymore these days and rightfully so, but he's written a nice blog post on using Clojure spec to meet his needs for types: https://blog.cleancoder.com/uncle-bob/2021/06/29/MoreOnTypes.html
@juliobiason beware, loss of smell and taste are not in the top five symptoms anymore with the delta variant.
I suggest a test to be sure: it's fast, painless and can be a life saver.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!