packages feed

ixset-typed-hashable-instance-0.1.0.1: src/Data/IxSet/Typed/Hashable.hs

module Data.IxSet.Typed.Hashable where

import Data.IxSet.Typed
import Data.Hashable

instance (Indexable ixs x, Hashable x) => Hashable (IxSet ixs x) where
  hashWithSalt n x = n `hashWithSalt` toList x