CQUB2A3OVJACRIRDLZNAO6XTFJX45ZNUJQU57A3Q4O6L6BT5ULIAC
addLocation :: Primer -> Location -> Index -> Index
addLocation primer location index = undefined
-- | If the primer is not in the index then we add the primer and location to the index
addLocation :: Primer -> Location -> AlBhed.Index.Index -> AlBhed.Index.Index
addLocation primer location [] = [(primer, NonEmptyList.singleton location)]
addLocation primer location (x:xs)
| x ^. _1 . volume == primer ^. volume = (x & _2 %~ NonEmptyList.push location):xs
| otherwise = x:addLocation primer location xs