<commit_before>import scalaz.{ -\/, \/-, \/ }

package object monocle {

  type SimpleSetter[S, A] = Setter[S, S, A, A]
  type SimpleTraversal[S, A] = Traversal[S, S, A, A]
  type SimpleLens[S, A] = Lens[S, S, A, A]
  type SimpleIso[S, A] = Iso[S, S, A, A]
  type SimplePrism[S, A] = Prism[S, S, A, A]

  object SimpleLens {
    def apply[S, A](_get: S => A, _set: (S, A) => S): SimpleLens[S, A] = Lens[S, S, A, A](_get, _set)
  }

  object SimpleIso {
    def apply[S, A](_get: S => A, _reverseGet: A => S): SimpleIso[S, A] = Iso(_get, _reverseGet)
    def dummy[S]: SimpleIso[S, S] = SimpleIso(identity, identity)
  }

  object SimplePrism {
    def apply[S, A](_reverseGet: A => S, seta: S => Option[A]): SimplePrism[S, A] =
      Prism(_reverseGet, { s: S => seta(s).map(\/-(_)) getOrElse -\/(s) })
  }

}<commit_msg>Rename SimplePrism parameter<commit_after>import scalaz.{ -\/, \/-, \/ }

package object monocle {

  type SimpleSetter[S, A] = Setter[S, S, A, A]
  type SimpleTraversal[S, A] = Traversal[S, S, A, A]
  type SimpleLens[S, A] = Lens[S, S, A, A]
  type SimpleIso[S, A] = Iso[S, S, A, A]
  type SimplePrism[S, A] = Prism[S, S, A, A]

  object SimpleLens {
    def apply[S, A](_get: S => A, _set: (S, A) => S): SimpleLens[S, A] = Lens[S, S, A, A](_get, _set)
  }

  object SimpleIso {
    def apply[S, A](_get: S => A, _reverseGet: A => S): SimpleIso[S, A] = Iso(_get, _reverseGet)
    def dummy[S]: SimpleIso[S, S] = SimpleIso(identity, identity)
  }

  object SimplePrism {
    def apply[S, A](_reverseGet: A => S, _getOption: S => Option[A]): SimplePrism[S, A] =
      Prism(_reverseGet, { s: S => _getOption(s).map(\/-(_)) getOrElse -\/(s) })
  }

}
{'fraction_non_alphanumeric': 0.2025164769322948, 'fraction_numerical': 0.0, 'mean_word_length': 3.3376623376623376, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '4926717', 'n_tokens_mistral': 750, 'n_tokens_neox': 726, 'n_words': 194}