Тёмный

Edward Kmett - Type Classes vs. the World 

Boston Haskell
Подписаться 1,1 тыс.
Просмотров 34 тыс.
50% 1

Boston Haskell Meetup - January 21, 2015

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 10   
@rudigerklaehn2790
@rudigerklaehn2790 9 лет назад
Great talk. I work a lot with type classes in scala when using spire, and getting different typeclass instances for the same type is giving me nightmares.
@asdfghyter
@asdfghyter 4 года назад
1:35:12 Another reason why Ord really benefits from being a type class is when you want to use the data with a Map. It is necessary for the correctness that every operation on a map uses the same ordering. Now, we could put the ordering function inside the Map, but now every Map will carry around an extra function and we are still not safe, since the union operation requires that the ordering operation is the same for both Maps, which is impossible to verify, since we can't compare functions for equality I'm not entirely sure how ML modules and the other options in the design space solves this problem. For the proof assistants, you could require an equality proof to use those functions, but that also feels very unsatisfactory.
@alexandernoriega4152
@alexandernoriega4152 7 лет назад
My favorite video on type classes. Also, for some reason the ConstraintKinds extension had never clicked for me, before watching this video. Kmett is awesome.
@kaleblawrence976
@kaleblawrence976 3 года назад
A tip : watch movies on flixzone. I've been using it for watching all kinds of movies recently.
@vanceelliott2704
@vanceelliott2704 3 года назад
@Kaleb Lawrence Yea, been watching on Flixzone} for since november myself :)
@lamudri
@lamudri 9 лет назад
Thanks for explaining your idea of “true” type classes. I had seen the occasional post from you where you mentioned it, and I had no idea why you had that opinion (other than “maybe it's something about category theory” ;-) ).
@comcxyang7395
@comcxyang7395 2 месяца назад
For me this is the best typeclass video!
@avidessauer154
@avidessauer154 5 лет назад
Rust's coherence rules are actually stricter than Haskell's. They don't even allow orphan instances in places they might be reasonable non library code. Traits can be passed at runtime, like a v table, but each type can only ever have one instance of a trait. As far as I can tell Rust's traits meet the criteria for type classes. In the future specialization may become a thing, but even then there can only be one canonical instance for a fully applied type.
@nicolasr8710
@nicolasr8710 9 лет назад
I wish there was a way to skip the random comments irrelevant to the presentation
@jollyjack5856
@jollyjack5856 8 лет назад
another mumbler. 24:18. another unintelligible audio. this is just great.
Далее
Monoidal Parsing-Edward Kmett
42:07
Просмотров 14 тыс.
In Haskell, less is more
57:51
Просмотров 22 тыс.
OYUNCAK DİREKSİYON İLE ARABAYI SÜRDÜ 😱
00:16
Просмотров 2,7 млн
I Took An iPhone 16 From A POSTER! 😱📱 #shorts
00:18
Next Level MTL - George Wilson - BFPG 2016-06
44:37
Просмотров 10 тыс.
Edward Kmett - Propagators - Boston Haskell
1:53:24
Просмотров 5 тыс.
"Propositions as Types" by Philip Wadler
42:43
Просмотров 128 тыс.
George Wilson - The Extended Functor Family
21:57
Просмотров 16 тыс.
"Dependent Types in Haskell" by Stephanie Weirich
38:42
Dan Doel - Introduction to Low Level Haskell Optimization
1:09:40
OYUNCAK DİREKSİYON İLE ARABAYI SÜRDÜ 😱
00:16
Просмотров 2,7 млн