HackerTrans
TopNewTrendsCommentsPastAskShowJobs

blueberry87

no profile record

Submissions

[untitled]

1 points·by blueberry87·6 bulan yang lalu·0 comments

Horrible answers to "What is a type?"

blueberrywren.dev
1 points·by blueberry87·8 bulan yang lalu·0 comments

Opinion Piece: On Zig

blueberrywren.dev
18 points·by blueberry87·9 bulan yang lalu·4 comments

Crafting a dependent typechecker, part 1

blueberrywren.dev
7 points·by blueberry87·12 bulan yang lalu·0 comments

De Bruijn notation, and why it's useful

blueberrywren.dev
141 points·by blueberry87·tahun lalu·44 comments

comments

blueberry87
·2 tahun yang lalu·discuss
i mean, then we get into defining multi-paradigm :P does it have objects that could, theoretically, be used in a java-like object oriented system? yes! does anybody do that? not really! it's far more functional than any other paradigm, and that's what counts.
blueberry87
·2 tahun yang lalu·discuss
this is wrong! ocaml is a functional programming language with side effects.
blueberry87
·2 tahun yang lalu·discuss
annoyingly go can't have proper sum types, as the requirement for a default value for everything doesn't make any sense for sum types
blueberry87
·3 tahun yang lalu·discuss
that's not how compile time works buddy
blueberry87
·3 tahun yang lalu·discuss
You lose a very large amount of expressive power if you don't. Any formalisation of the reals requires at least 3 levels, if I remember correctly.
blueberry87
·3 tahun yang lalu·discuss
What are your other options? A type-based proof system implies dependent types, implies universe levels if you want it to be consistent.
blueberry87
·3 tahun yang lalu·discuss
Trying to compare a switch statement to proper pattern matching is like comparing a rock to a rocket.
blueberry87
·3 tahun yang lalu·discuss
Also agda: https://plfa.github.io/