Challenge: Manipulating Hash Maps
Explore how to handle hash maps in Clojure through practical exercises involving student data. Learn to split students into classrooms by age and generate a unique list of mothers' names, developing skills in data transformation, function design, and argument flexibility within Clojure.
We'll cover the following...
Explanation
Until now, you’ve only done mathematical challenges. Now you’ll want to take a different approach. Imagine that you’re doing a job for a school, and they send you a list with students’ information.
You can see the list below. The given list structure will be your entry point argument for all the exercises.
Each student will have the following parameters:
name: This is aStringwith the name of the student.age: This is anIntegerwith the age of the student.gender: This is akeywordthat can only be ...