mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-12 12:14:05 +03:00
8 lines
171 B
Idris
8 lines
171 B
Idris
|
module SearchWriter
|
||
|
|
||
|
import Control.Monad.Identity
|
||
|
import Control.Monad.Writer
|
||
|
|
||
|
monadWriterInstance : (Monoid a) => MonadWriter a (Writer a)
|
||
|
monadWriterInstance = %search
|