Fix the Flavors: Exercise
Using lenses, write a point-free solution to manipulate and return everyone's favorite ice cream.
We'll cover the following...
You’re having fun with these exercises, so let’s start manipulating data!
Using lenses, write a point-free solution that
- Capitalizes all the flavors
- Appends “IS A GREAT FLAVOR” to each one
- Returns them
Here’s the end result we’re looking for
Press + to interact
index.js
employees.json
import employees from './employees.json';const result = emphasizeFlavors(employees);console.log({ result });
I’ll see you in the solution review!
Press + to interact
index.js
employees.json
import { } from 'ramda';import employees from './employees';
to save progress
Get the Flavors: Solution Review
Fix the Flavors: Solution Review
to save progress