adjunctions icon indicating copy to clipboard operation
adjunctions copied to clipboard

New function: repStore

Open hololeap opened this issue 5 years ago • 0 comments

This is a new function for Control.Comonad.Representable.Store

-- | The most basic `Store` comonad, built from a `Representable`, using `index` as the underlying function.
repStore :: Representable g => g a -> Rep g -> Store g a
repStore = store . index

hololeap avatar Mar 04 '19 07:03 hololeap