<commit_before>package com.ephox.vault

import scalaz._
import Scalaz._

sealed trait RowPartition[L] {
  val partition: Row => Row => RowValue[L, Boolean]
}

object RowPartition {
  def rowPartition[L](f: Row => Row => RowValue[L, Boolean]): RowPartition[L] = new RowPartition[L] {
    val partition = f
  }

  def equalityPartition[L, A: Equal](k: Row => A): RowPartition[L] =
    // rowPartition(r1 => r2 => (k(r1) === k(r2)).η[RowValue])
    error("todo")
}<commit_msg>Recovering functionality after introducing logging<commit_after>package com.ephox.vault

import scalaz._
import Scalaz._

sealed trait RowPartition[L] {
  val partition: Row => Row => RowValue[L, Boolean]
}

object RowPartition {
  def rowPartition[L](f: Row => Row => RowValue[L, Boolean]): RowPartition[L] = new RowPartition[L] {
    val partition = f
  }

  def equalityPartition[L, A: Equal](k: Row => A): RowPartition[L] =
    rowPartition(r1 => r2 => (k(r1) === k(r2)).η[({type λ[α]= RowValue[L, α]})#λ])
}
{'fraction_non_alphanumeric': 0.16548223350253807, 'fraction_numerical': 0.008121827411167513, 'mean_word_length': 4.53932584269663, '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': '359673', 'n_tokens_mistral': 355, 'n_tokens_neox': 347, 'n_words': 88}