I knew that Haskell has an unconventional meaning for return, but today I learnt that return in Scala means something else too!
https://tpolecat.github.io/2014/05/09/return.html
It's a non-local return, so it returns from the *caller*! Wild.
Seems handy for Ruby/Smalltalk style blocks though.
miniblog.
Related Posts
It's rare to see ANSI escape codes for URLs in the wild, but cargo has it!
This example links to https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles, describing the different profiles.
Considering releases vs debug is a source of confusion for new users expecting better performance, this seems wise.
After seeing yet another YAML dialect for controlling systems, I think we need a hierarchy of YAML dialect expressiveness.
(1) Has its own variable binding system.
(2) Supports if statements.
(3) Supports loops.
(4) Supports function definition.
2 seems to be the most common, but I've seen all of 1-3. Does level 4 exist in the wild yet?
Amazon is using LLMs to summarise product reviews!
Seems like a great application of the tool, but I haven't seen many deployments of AI summaries in the wild yet.

