Advertisement · 728 × 90

Posts by Eduardo Rafael

I dunno man, I cannot stop feeling like we can do better.

3 months ago 1 0 1 0

Seriously, X is just not a great place, but this one feels too artificial, I'm kind of depressed with the state of affairs in general.

3 months ago 7 0 2 0

programmers are such babies. you're paid an obscene salary for an extremely comfortable job for ostensibly being smart and good at logical thinking.

you can figure out how to run the 4 opam commands required to set up an ocaml project oh my god

3 months ago 63 7 6 2

Pior que a minha leitura do assunto é mto teórico.

3 months ago 2 0 0 0

It definitely makes it harder to reason about performance tho.

4 months ago 1 0 0 0
Preview
nat_by_j.v GitHub Gist: instantly share code, notes, and snippets.

I think I forgot to share this here, deriving induction for the inductive types in an impredicative setting, using pairs and equality without UIP only.

I'm currently working on deriving all the indexed inductive types and a fully predicative setting.

gist.github.com/EduardoRFS/8...

4 months ago 2 0 0 0

folks, if you want FUN OCaml 2026 to happen, please put in some drafts (it's okay if you change your mind later, both regarding topic and whether you can attend)

4 months ago 4 1 2 0

It was not intentional bro.

5 months ago 2 0 0 0

No idea, but T even has acute effects.

5 months ago 2 0 1 0
Advertisement
Preview
naive_vars.ml GitHub Gist: instantly share code, notes, and snippets.

It's interesting that naive mutable variables work for interpreting the lambda calculus if you're restricting the evaluation order.

The following, should not have any reentrancy problem and be reasonably fast for some classes of programs.

gist.github.com/EduardoRFS/6...

6 months ago 2 0 0 0

Good luck

6 months ago 0 0 0 0

Even if it's a new symbol, it's still cyclical, it really doesn't matter semantics wise, if A is isomorphic to B and B implies in something that includes A, then B is cyclical.

Also, it's called a fixpoint, because you go back to the same point.

6 months ago 0 0 0 0

This a cycle, you just showed that it is well founded as it eventually finishes, but the stream type is also a regular tree and there is no trivial way of avoiding the cycle.

6 months ago 0 0 1 0

A list type is a regular tree, it's not a tree as it is cyclical.

6 months ago 0 0 1 0
Alt text: A meme featuring two Kermit the Frog characters - the regular Kermit on the left and "Dark Kermit" (Kermit in a dark hood) on the right, with white text at the bottom reading "come to the Obj.magic side". This appears to be a programming humor meme referencing OCaml's Obj.magic function, using the classic "good Kermit vs evil Kermit" meme format to represent the temptation to use unsafe type casting.

Alt text: A meme featuring two Kermit the Frog characters - the regular Kermit on the left and "Dark Kermit" (Kermit in a dark hood) on the right, with white text at the bottom reading "come to the Obj.magic side". This appears to be a programming humor meme referencing OCaml's Obj.magic function, using the classic "good Kermit vs evil Kermit" meme format to represent the temptation to use unsafe type casting.

when you don't know whether you're creating problems for your future self, or solving them

6 months ago 7 1 0 0

My technique for mutual recursion works but it currently breaks subject reduction, I need to clean the meta theory a bit.

6 months ago 0 0 0 0
Advertisement

I'm just a con man, I don't even know greek.

6 months ago 2 0 0 0

Literally me

6 months ago 4 0 1 0

Hey, I'm open to giving talks(maybe lectures?) about whatever, either in South America, Europe or North America.

If you know something that I should apply for let me know.

6 months ago 7 0 0 0

Or it was dune, but something includes it.

6 months ago 1 0 0 0

Either OxOCaml has it or it's an OCaml Pro thing.

6 months ago 2 0 2 0

A vontade de morder crianças é realmente universal.

6 months ago 2 0 1 0
Post image Post image

Similarly but simpler than distilling optimality, you can distill Weak CBV from a Strong CBV interpreter + explicit laziness. In such a scenario, you can see that beta + force is equivalent to a single beta in the weak setting.

6 months ago 3 0 0 0
Advertisement

People call it portable assembly for a reason tho. And we definitely say that it is a native language.

7 months ago 1 0 0 0

It's both, in the same way that there is a program in C and the equivalent program in Assembly, those are two different presentations of the same program.

7 months ago 0 0 0 0

You can trivially compile WebAssembly to native.

7 months ago 2 0 0 0

I've been on TRT now, aiming to stay a bit on the high end but still under 1000. Also monitoring my DHT because I don't want to start balding again.

7 months ago 1 0 0 0

The general advantage of teaching X with LLM is to also teach on how to learn some other X.

The issue is that you and most people thinking on education want to teach a very specific X.

7 months ago 1 0 0 0

nonsteroidal anti-inflammatory drugs and metamizole

7 months ago 0 0 0 0

“c gets you close to the machine” is the kind of sentence that lands very differently after working in a factory

you’re not supposed to be close to the machine! that’s where the finger munchers are!

7 months ago 425 58 13 1