Fix the Flavors: Exercise

Using lenses, write a point-free solution to manipulate and return everyone's favorite ice cream.

You’re having fun with these exercises, so let’s start manipulating data!

Using lenses, write a point-free solution that

  1. Capitalizes all the flavors
  2. Appends “IS A GREAT FLAVOR” to each one
  3. Returns them

Here’s the end result we’re looking for

index.js
employees.json
import employees from './employees.json';
const result = emphasizeFlavors(employees);
console.log({ result });

I’ll see you in the solution review!

index.js
employees.json
import { } from 'ramda';
import employees from './employees';