I show how the Maybe datatype and lists can be used to deal with functions that return either zero or multiple values. All code can be found in the course git repository https://github.com/MariusFurter/MAT605-haskell-FS23
00:00 Introduction
00:26 Maybe datatype
04:05 Using lists for partial and multivalued functions
07:53 Lifting functions to Maybe and Lists
14:51 Lifting elements to Maybe and Lists
16:12 Flattening Maybe and Lists
The playlist for the course can be found here: https://www.youtube.com/watch?v=0HImO-me_sg&list=PLd8NbPjkXPliojM8YMN3z3o9--zXwti8Z
Download
0 formats
No download links available.
Logic & Foundations with Haskell: Haskell 11 :: Partial and Multivalued Functions | NatokHD