ApplicativeLayer[M, Inner] has the following functionality:
- the capability to lift values from the ApplicativeInner
to the ApplicativeM, preserving the Applicative structure
- lifts Applicative isomorphisms in Inner ((Inner ~> Inner, Inner ~> Inner))
into Applicative homomorphisms in M (M ~> M).
This allows you to "map" a natural transformation over the Inner inside M,
but only if you can provide an inverse of that natural transformation.
ApplicativeLayer[M, Inner]
has the following functionality: - the capability to lift values from theApplicative
Inner
to theApplicative
M
, preserving theApplicative
structure - liftsApplicative
isomorphisms inInner
((Inner ~> Inner, Inner ~> Inner)
) intoApplicative
homomorphisms inM
(M ~> M
). This allows you to "map" a natural transformation over theInner
insideM
, but only if you can provide an inverse of that natural transformation.ApplicativeLayer[M, Inner]
has two external laws: