I have a custom data given below:
data Item = Item {
name:: String,
identifier:: String,
itemAction:: Action
}
I want to convert a list of this data type [Item] into another list that has only the Item's name [Item.name]which is [String]