4min chapter

Add Dot cover image

Functional, DRY, and Bi-Temporal Models

Add Dot

CHAPTER

The Simplest Building Block in Functional Programming

The function that I referred to as convert could actually be map in this case right so map takes an A and answers AB exactly so we're just mapping one to another now an interesting thing about map is basically what you do is you map over let's say a collection for one that you can map over anything. You don't have to return a an actual different type it could be like a conversion or a mapping from a list of numbers that you want to double but B just represents that there is a new output for what you passed in as input.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode