Idris2/tests/base/control_monad_instances/SearchWriter.idr

8 lines
171 B
Idris

module SearchWriter
import Control.Monad.Identity
import Control.Monad.Writer
monadWriterInstance : (Monoid a) => MonadWriter a (Writer a)
monadWriterInstance = %search