MuniHac 2016: Beautiful folds are practical, too

  Рет қаралды 8,700

TNG Technology Consulting GmbH

TNG Technology Consulting GmbH

Күн бұрын

Пікірлер: 7
@HerbMartin52
@HerbMartin52 5 жыл бұрын
A Beautiful Session on Beautiful Folds I am a beginner at Haskell and this talk was entertaining and enlightening but more importantly, it brought together a number of ideas (not just on folds) that I am only beginning to grok. Thank you so much. Please do more (I am going to search out all of your other sessions and lessons.) BTW, I am highly critical of most speakers -- you are superb.
@Tomyb15
@Tomyb15 8 ай бұрын
Really amazing stuff, and the speaker did a phenomenal job at explaining it. One question I have is whether mapping over a list/traversable just to apply a newtype data constructor could be avoided in some way via type coercion (which is always doable for newtypes) and whether it ends up making a difference. I'm not an experienced haskeller but I'm guessing it would require some type family magic.
@fordox4275
@fordox4275 8 жыл бұрын
How can the average-fold be so efficient, if you basically create new list of `Average`s (thus you need extra iteration to copy the list)?
@3noch
@3noch 8 жыл бұрын
In short, a very smart compiler. 1. All those "Average" constructors are erased at compile time by GHC. They are only used to determine how to do plumbing at the type level. 2. The folds are using stream fusion to compile to a single loop with no intermediate structures. The compiler makes heavy use of inlining to detect these cases, even when your folds are the composition of other folds across module, or even package, boundaries.
@123coolmik
@123coolmik 5 жыл бұрын
Thanks, this was very enlightening
George Wilson - The Extended Functor Family
21:57
Compose Conference
Рет қаралды 16 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 59 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
Monoidal Parsing-Edward Kmett
42:07
Scala World
Рет қаралды 14 М.
Haskell is Not For Production and Other Tales
38:19
Linux.conf.au 2016 -- Geelong, Australia
Рет қаралды 100 М.
MuniHac 2024 - Sa, Oct. 12 - Hécate: Effect Systems in Practice
44:26
TNG Technology Consulting GmbH
Рет қаралды 506
John Wiegley: Putting Lenses to Work
47:19
Bay Area Haskell
Рет қаралды 11 М.
Big Techday 24: Visualizing Transformers - Grant Sanderson (@3blue1brown)
1:06:07
TNG Technology Consulting GmbH
Рет қаралды 1,1 М.
In Haskell, less is more
57:51
London Haskell
Рет қаралды 22 М.
"Point-Free or Die: Tacit Programming in Haskell and Beyond" by Amar Shah
36:13
Strange Loop Conference
Рет қаралды 29 М.
Production Haskell - Reid Draper
1:06:34
Chicago Haskell
Рет қаралды 19 М.
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 2,5 МЛН