<commit_before>package lancet.core


trait Core_Exec extends Base_Exec with Core {
  type TypeRep[T] = Manifest[T]
  implicit def anyType[T:Manifest]: TypeRep[T] = manifest[T]
  implicit def booleanType = manifest[Boolean]
  implicit def intType = manifest[Int]
  implicit val unitType: Manifest[Unit] = manifest[Unit] // stack overflow in test5 if it's a def (?)
  // TODO: hmmmm, this stuff is recursive...
<commit_msg>prevent recursive implicits for TypeRep[T] = Manifest[T]<commit_after>package lancet.core

object NoRecurse {
  // methods can't be implicit -- otherwise we'd get infinite recursion
  def anyType[T:Manifest] = manifest[T]
  val booleanType = manifest[Boolean]
  val intType = manifest[Int]
  val unitType = manifest[Unit]
}


trait Core_Exec extends Base_Exec with Core {
  type TypeRep[T] = Manifest[T]
  implicit def anyType[T:Manifest] = NoRecurse.anyType[T]
  implicit def booleanType = NoRecurse.booleanType
  implicit def intType = NoRecurse.intType
  implicit def unitType = NoRecurse.unitType
{'fraction_non_alphanumeric': 0.0930460333006856, 'fraction_numerical': 0.0009794319294809011, 'mean_word_length': 4.806818181818182, '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': '3821564', 'n_tokens_mistral': 328, 'n_tokens_neox': 325, 'n_words': 98}