<commit_before>package freestyle
package effects

import cats.MonadWriter

object writer {

  final class AccumulatorProvider[W] {

    @free sealed abstract class WriterM[F[_]] {
      def writer[A](aw: (W, A)): FreeS.Par[F, A]
      def tell(w: W): FreeS.Par[F, Unit] = writer((w, ()))
    }

    object implicits {

      implicit def freestyleWriterMHandler[M[_]](
          implicit MW: MonadWriter[M, W]): WriterM.Handler[M] = new WriterM.Handler[M] {
        def writer[A](aw: (W, A)): M[A] = MW.writer(aw)
        def tell(w: W): M[Unit]         = MW.tell(w)
      }<commit_msg>Fix WriterM.tell (#118)<commit_after>package freestyle
package effects

import cats.MonadWriter

object writer {

  final class AccumulatorProvider[W] {

    @free sealed abstract class WriterM[F[_]] {
      def writer[A](aw: (W, A)): FreeS.Par[F, A]
      def tell(w: W): FreeS.Par[F, Unit]
    }

    object implicits {

      implicit def freestyleWriterMHandler[M[_]](
          implicit MW: MonadWriter[M, W]): WriterM.Handler[M] = new WriterM.Handler[M] {
        def writer[A](aw: (W, A)): M[A] = MW.writer(aw)
        def tell(w: W): M[Unit]         = MW.tell(w)
      }
{'fraction_non_alphanumeric': 0.15120274914089346, 'fraction_numerical': 0.002577319587628866, 'mean_word_length': 2.9491525423728815, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2367694', 'n_tokens_mistral': 431, 'n_tokens_neox': 408, 'n_words': 103}