Chris Penner
@chrispenner
FP and Programming languages nerd Building the Unison Language & Unison Share 📍Victoria BC 🇨🇦
No other language lets me write straight-line code like this. The `prompt` line saves saves the current continuation in a database, then sends a prompt to the user's browser to select a slot. When selected, `prompt` returns the in-memory @unison-lang.org object which corresponds to the chosen slot.
We all know AI is unreliable, but what's the worst case you've seen? #zig This one made me exhale sharply through my nose today:
I do this sort of thing a lot, in #Haskell I love the tuple Monoid instance; pretty short, and only does a single list traversal.
Cool trick for finding bottlenecks in your concurrent systems; sometimes you can just literally print where you're currently blocked.
I wish I could use Waze, it's great, but the state of Anti-trust law in the U.S. is pitiful and Google bought it up.
I'm not quite sure what you're asking, but maybe this answers your question. Here's one way. Note that if you have more complex patterns you can delimit the scope of the wildcards like this: `pattern "%{name}-v%{num}.txt"` But the {} are optional if your wildcards have non-alphanumeric borders
I'm loving working on this little side project; I've got enough functionality to start using it in my daily dev life. E.g. now that I've got bindings, shell cmd support and pattern strings I can do nifty stuff like this little 'focus' script for renaming files.
New monad just dropped; `strict` behaves like `evaluate`, but you can run it purely. Anything you've called `strict` on will be evaluated when you force the result of `runStrictly` to whnf. Don't ask why I needed it... or why it has MonadFix... 😅
Here’s my iPhone; the same thing happens with photos, most apps ask for full permissions when iOS offers options that are much more consumer friendly.