4QPDDW46NZLFA2GZ4YFOLEMHHP5BPHLBOTSZMOJ3UMGRQ4DH3N7QC module AlBhed.Index( -- * Constructorsempty, singleton) whereimport Data.NonEmptyList (NonEmptyList)import qualified Data.NonEmptyList as NonEmptyListimport AlBhedimport Locationtype Index = [IndexItem]type IndexItem = (Primer, NonEmptyList Location)empty :: Indexempty = []singleton :: Primer -> Location -> Indexsingleton x y = [(x, NonEmptyList.singleton y)]-- | Add a location to the primer in indexaddLocation :: Primer -> Location -> Index -> IndexaddLocation primer location index = undefined