YoVDO

Data Structures of the Dark Side

Offered By: Scala Days Conferences via YouTube

Tags

Scala Days Courses Functional Programming Courses Advanced Data Structures Courses Zippers Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore advanced data structures and functional programming concepts in this 50-minute conference talk from Scala Days New York 2016. Dive into unfamiliar yet useful structures like DList (Difference List) and Zippers, examining their use cases, advantages, and disadvantages. Learn about implementation techniques and related topics including Anamorphisms, Trampolines, the Writer monad, and Co-Monads. Follow along as the speaker covers various methods, folds, catamorphisms, infinite possibilities, and practical examples such as root finding. Discover solutions to common problems like concatenation and stack overflow through recursive techniques, function composition, and the use of trampolines. Gain insights into enhancing data structure hierarchies and implementing complete signatures for more efficient functional programming in Scala.

Syllabus

Intro
Zippers
Choice of Methods
Monadic Methods
Folds and Catamorphisms
Example of Fold
Good-Fold Detection
Anamorphisms
Stream Example
Infinite Possibilities
Comonads
StreamZipper as a Comonad
Back to Our Scenario
Almost There
Unfold for Tree
The Writer Monad
Example (Root Finding)
The Concatenation Problem
Benchmarks
Recursive Concatenation
Naive Implementation
Function Composition
The Stack Problem
Enter Trampolines
The Trampoline Data Type
Adding map
Enhancing the Hierarchy
Complete Signature
Discussion
Summary


Taught by

Scala Days Conferences

Related Courses

40 Techniques Every Sewer Should Know
Craftsy
Closures: Zippers, Buttonholes & Loops
Craftsy
Mastering Construction: Zippers & Waistbands
Craftsy
Mastering in Minutes: Zippers
Craftsy
Practical Sewing Tips & Techniques
Craftsy