HackerTrans
TopNewTrendsCommentsPastAskShowJobs

blueberry87

no profile record

Submissions

[untitled]

1 points·by blueberry87·há 6 meses·0 comments

Horrible answers to "What is a type?"

blueberrywren.dev
1 points·by blueberry87·há 8 meses·0 comments

Opinion Piece: On Zig

blueberrywren.dev
18 points·by blueberry87·há 9 meses·4 comments

Crafting a dependent typechecker, part 1

blueberrywren.dev
7 points·by blueberry87·há 12 meses·0 comments

De Bruijn notation, and why it's useful

blueberrywren.dev
141 points·by blueberry87·ano passado·44 comments

comments

blueberry87
·há 2 anos·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
·há 2 anos·discuss
this is wrong! ocaml is a functional programming language with side effects.
blueberry87
·há 2 anos·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
·há 3 anos·discuss
that's not how compile time works buddy
blueberry87
·há 3 anos·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
·há 3 anos·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
·há 3 anos·discuss
Trying to compare a switch statement to proper pattern matching is like comparing a rock to a rocket.
blueberry87
·há 3 anos·discuss
Also agda: https://plfa.github.io/