haskpy.optics.adapter

adapter(receive, send)[source]

(s -> a) -> (b -> t) -> AdapterP a b s t

where

type AdapterP a b s t = Profunctor p => p a b -> p s t