Learn AI, Data Science & Business — Earn Certificates That Get You Hired
AI Engineer - Learn how to integrate AI into software applications
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Learn about fold operations in functional programming through this 33-minute lecture that explores the fundamental concepts of foldl (left fold) and foldr (right fold). Discover how these higher-order functions work to reduce lists and other data structures into single values by applying a binary function iteratively. Examine the differences between left and right folds, understand their evaluation strategies, and explore practical applications where each type of fold is most appropriate. Master the syntax and semantics of both fold operations while gaining insights into their performance characteristics and use cases in functional programming paradigms.
Syllabus
Folds
Taught by
NPTEL-NOC IITM