A Type System From Scratch - Robert Widmann

  Рет қаралды 13,640

Functional Swift

Functional Swift

Күн бұрын

Пікірлер: 18
@RobertWidmann
@RobertWidmann 7 жыл бұрын
Hi, Robert here. Just wanted to correct a couple of my own mistakes here - I was way too generous putting Swift up there with System F (λ2) considering we don't really have kinds. But you can do some terrifying things to try and encode them nonetheless. - The notation for subtyping is not usually a "carat and a colon", it's usually a less-than and a colon (
@RobertWidmann
@RobertWidmann 7 жыл бұрын
Chris Eidhof also saved a question off-screen about the section where I mentioned that you can sort of read the stacked typing judgements (@13:47) from bottom-to-top. The answer is really, like everything here, you can read it multiple ways. If you read top-to-bottom you get to follow a deductive series of arguments that lead you from small premises to bigger conclusions. If you read bottom-to-top you can break a large problem down into its sub-parts and work your way backwards towards what led you there. I'm personally a fan of reading them in a spiral where you start at the left side of the conclusion then read the premises, then read the right hand side. All will lead you to a different viewpoint. All are equally valid.
@emanueltesar2388
@emanueltesar2388 5 жыл бұрын
@@RobertWidmann Hi :) I really enjoyed your talk and really liked the type cube. I would be interested in learning more about type systems in general. Can you share some resources to learn from? Books, talks etc...? I am also up for the proofs of the the complexity (as you just mentioned what is NP, undecidable...). Thank you :)
@I_lovefood831
@I_lovefood831 2 жыл бұрын
hello cousin
6 жыл бұрын
This went over my head. I'll come back in a year or two and see if I understand anything.
@yixe2253
@yixe2253 4 жыл бұрын
reminder, its been over a year
@kevkev6798
@kevkev6798 3 жыл бұрын
Reminder, it’s been two years
@louisthibault555
@louisthibault555 3 жыл бұрын
Where did you get stuck? Can I help?
@jpratt8676
@jpratt8676 Жыл бұрын
It's been four years. How'd you go?
Жыл бұрын
It's too dense and long to keep my attention. Good thing is that 4 years later I now know that I have ADHD, so it makes sense.
@pibob7880
@pibob7880 Жыл бұрын
It's always mind blowing that arranging/abstracting data into different forms can save much computation.
@blacklistnr1
@blacklistnr1 Жыл бұрын
Funny that swift assumes that the human knows the types (=> easy enough for sleepy programmer to deduce), but then runs into exptime while solving 60 rules. Mayybe, just maybe.. there is another simpler ruleset which runs in like O(N), because if I have to read an expression and its types more than 3 times to figure out the type I'll just *table flip* and switch language.
@bibliusz777
@bibliusz777 3 жыл бұрын
surprisingly good talk
@sunofabeach9424
@sunofabeach9424 8 ай бұрын
god bless english, the best type system ever invented. can't say the same about Swift
@mrmaniac9905
@mrmaniac9905 6 ай бұрын
In what world does calling expressions "applications" make sense...?
@valshaped
@valshaped 4 ай бұрын
It's function application: applying f to x is literally f(x)
Monoids, Predicates and Sorting Functions! - Brandon Williams
38:51
Functional Swift
Рет қаралды 4,7 М.
Bidirectional Type Checking
41:31
Compose Conference
Рет қаралды 6 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 8 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 14 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 12 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 1,3 МЛН
Applicatives and Swift - Stephen Celis
45:12
Functional Swift
Рет қаралды 4 М.
Uncovering the Unknown: Principles of Type Inference
1:02:59
ChariotSolutions
Рет қаралды 7 М.
Brandon Williams - Composable Reducers & Effects Systems
49:49
Functional Swift
Рет қаралды 10 М.
"Understanding TypeScript's Structural Type System" by Drew Colthorp
37:47
Strange Loop Conference
Рет қаралды 14 М.
Brandon Williams - Seemingly Impossible Swift Programs
45:58
Functional Swift
Рет қаралды 3,1 М.
Stephanie Weirich on From System F to Typed Assembly Language
56:52
Papers We Love Philadelphia
Рет қаралды 2,2 М.
Writing Domain Specific Languages - Rahul Malik
27:11
Functional Swift
Рет қаралды 8 М.
Programming with Math | The Lambda Calculus
21:48
Eyesomorphic
Рет қаралды 191 М.
А ВЫ ЛЮБИТЕ ШКОЛУ?? #shorts
00:20
Паша Осадчий
Рет қаралды 8 МЛН