Identity Functions 5 exercises
Problem

Add Constraints to an Identity Function

Let's continue with the fruits example.

Here we have a narrowFruits function that looks a lot like the the asConst function from the previous exercise:

Loading exercise