Idris2/tests/base/control_monad_instances/SearchWriter.idr

8 lines
171 B
Idris
Raw Normal View History

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