Turns out that tuples can receive a .push method.
u ok TypeScript?
ALT // Define a tuple of set length
type NameTuple = [string, string, string];
// Create an array of that length
const names: NameTuple = ['Matt', 'Geoff', 'Corinne'];
// No error!
names.push('Waqas');
@rizo_isrof told me: "If you want great performance with string concatenation, use the OCaml's Buffer module instead of List/Sequences".
Before: 66.6k req/sec
After: 72.4k req/sec
In retrospect this was the best smartphone. High productivity, low addiction. No infinite scroll, no engagement hacking, just messaging with your friends and typing emails very fast with that clicky keyboard. Someone should do a new one.
Next emelle.tv show is prepared for tonight (or in a few hours :P).
As a guest we will have the great @___zth___ and let's talk about his involvement in ReScript, the efforts their are pushing, and the future of @rescriptlang.
ALT TikTok screencap with text that says “hate to break it to you but when the richest people on earth tell you that the real problems are pronouns and wokeness, they’re trying to distract you from something”
Created a template with OCaml via Docker. It uses 4.14, dune and opam
It's very easy to get up and running with OCaml, sadly there's no support for lsp, otherwise would be the best way
The docker support is insane, well done @codesandbox!
Fork it here: codesandbox.io/p/sandbox/oca…
ALT Screenshot of a playground running OCaml with a terminal attached.
A inspiração e o amor marcaram a jornada de Rei Pelé, que faleceu no dia de hoje.
Amor, amor e amor, para sempre.
.
Inspiration and love marked the journey of King Pelé, who peacefully passed away today.
Love, love and love, forever.
@reasonml might look dead after the split from BuckleScript (into @rescriptlang) but it still remains technically a very strong option for JavaScript developers who are interested in FP and native development.
Let me explain myself better in this lovely thread:
1/2 J’étais épanouie en visionnant le film *Wakanda Forever*. Non pas parce que le film est excellent mais pour la première fois mon pays a été bien mis en valeur. Quand on parle d’Haïti dans les films/séries, on fait toujours allusion à la sorcellerie, les gangs #wakanda#haiti