This page is no longer maintained — Please continue to the home page at www.scala-lang.org

the implicit popularity contest

No replies
extempore
Joined: 2008-12-17,
User offline. Last seen 35 weeks 3 days ago.
Statistics distilled from compiling trunk with -Xlog-implicit-conversions.  Number is the number of call sites at which the conversion in question is injected.  If you can't tell what some of them are, it's because regexes were involved in the distillation.

 934 implicit def augmentString(x: String): scala.collection.immutable.StringOps 572 implicit def any2ArrowAssoc[A](x: A): ArrowAssoc[A] 423 implicit def refArrayOps[T <: AnyRef](xs: Array[T]): scala.collection.mutable.ArrayOps[T]  230 implicit def intWrapper(x: Int): scala.runtime.RichInt 179 implicit def any2stringadd(x: Any): scala.runtime.StringAdd 137 io.this.Path.string2path:(s: String)scala.tools.nsc.io.Path  133 TermNames.this.createNameType:(name: String)TermNames.this.NameType 121 Definitions.this.stringToTermName:(s: String)Definitions.this.TermName 119 implicit def mkTreeMethods(target: TreeDSL.this.global.Tree): scala.tools.nsc.ast.TreeDSL.CODE.TreeMethods   51 WikiParser.this.strintToChars:(s: String)Array[Char]  47 implicit def charArrayOps(xs: Array[Char]): scala.collection.mutable.ArrayOps[Char]  42 implicit def treeOps(tree: Trees.this.Tree): Trees.this.TreeOps   42 implicit def charWrapper(c: Char): scala.runtime.RichChar  41 scala.this.Predef.wrapString:(s: String)scala.collection.immutable.WrappedString  39 implicit def entryType(code: Int): scala.tools.scalap.scalax.rules.Rule[scala.tools.scalap.scalax.rules.scalasig.ScalaSigEntryParsers.S,scala.tools.scalap.scalax.rules.scalasig.ScalaSigEntryParsers.S,Int,Nothing]   39 TypeNames.this.createNameType:(name: String)TypeNames.this.NameType  37 implicit protected def task2ops[R,Tp](tsk: ParIterableLike.this.SSCTask[R,Tp]): Object with ParIterableLike.this.TaskOps[R,Tp]   32 implicit def seqRule[In,A,X](rule: scala.tools.scalap.scalax.rules.Rule[In,In,A,X]): scala.tools.scalap.scalax.rules.SeqRule[In,A,X]  31 SignalManager.this.mkWSignal:(name: String)scala.tools.util.SignalManager.WSignal   29 tools.this.partest.`package`.temporaryPath2File:(x: scala.tools.nsc.io.Path)java.io.File  28 implicit protected def optionMagicAdditions(s: String): Spec.this.OptionMagic  28 implicit def byteArrayOps(xs: Array[Byte]): scala.collection.mutable.ArrayOps[Byte]   27 implicit def stringToTermName(s: String): StdNames.this.TermName  26 implicit def traversable2ops[T](t: scala.collection.GenTraversableOnce[T]): Object with scala.collection.parallel.TraversableOps[T]   25 implicit def mkOrderingOps(lhs: T): Ordering.this.Ops  25 implicit def liftToken(code: Int): ReplTokens.this.Arrow  25 implicit def accept(e: Parsers.this.Elem): Parsers.this.Parser[Parsers.this.Elem]   25 ILoop.this.Result.resultFromString:(msg: String)ILoop.this.Result  24 CommonNames.this.createNameType:(name: String)CommonNames.this.NameType  21 implicit def intArrayOps(xs: Array[Int]): scala.collection.mutable.ArrayOps[Int]   21 MSILNames.this.stringToTypeName:(s: String)StdNames.this.TypeName  20 implicit def tildeDecorator[S](x: S): scala.tools.nsc.io.Pickler.TildeDecorator[S]  18 tools.this.partest.`package`.temporaryFile2Path:(x: java.io.File)scala.tools.nsc.io.Path   18 StdNames.this.stringToTermName:(s: String)StdNames.this.TermName  17 JavaNames.this.stringToTypeName:(s: String)StdNames.this.TypeName  17 ILoop.this.Result.resultFromUnit:(x: Unit)ILoop.this.Result   17 BigDecimal.this.bigdec2BigDecimal:(x: java.math.BigDecimal)scala.math.BigDecimal  16 implicit def view(n: String): scala.text.Document  16 implicit def factory2ops[From,Elem,To](bf: scala.collection.generic.CanBuildFrom[From,Elem,To]): Object with scala.collection.parallel.FactoryOps[From,Elem,To]   15 TraversableViewLike.this.asThis:(xs: TraversableViewLike.this.Transformed[A])This  14 implicit protected def builder2ops[Elem,To](cb: scala.collection.mutable.Builder[Elem,To]): Object with ParIterableLike.this.BuilderOps[Elem,To]   14 implicit def genericArrayOps[T](xs: Array[T]): scala.collection.mutable.ArrayOps[T]  13 scala.this.Predef.wrapIntArray:(xs: Array[Int])scala.collection.mutable.WrappedArray[Int]  13 scala.this.Predef.augmentString:(x: String)scala.collection.immutable.StringOps   13 implicit protected def delegatedSignalling2ops[PI <: scala.collection.generic.DelegatedSignalling](it: PI): Object with ParIterableLike.this.SignallingOps[PI]  13 implicit def strBreak(s1: String): Object{def /(s2: String): String}   13 CPSUtils.this.global.stringToTermName:(s: String)CPSUtils.this.global.TermName  12 wrapResult:(tree: Implicits.this.global.Tree)Implicits.this.SearchResult  12 math.this.BigInt.int2bigInt:(i: Int)scala.math.BigInt   12 XMLTypeNames.this.createNameType:(name: String)XMLTypeNames.this.NameType  11 def apply(v1: T1): R  11 LiftCode.this.global.stringToTermName:(s: String)LiftCode.this.global.TermName   10 SelectiveCPSTransform.this.global.stringToTermName:(s: String)SelectiveCPSTransform.this.global.TermName  10 Lexer.this.accept:(e: Lexer.this.Elem)Lexer.this.Parser[Lexer.this.Elem]   9 scalacheck.this.Gen.value[scala.math.BigInt]:(x: scala.math.BigInt)Object with org.scalacheck.Gen[scala.math.BigInt]    9 implicit def floatWrapper(x: Float): scala.runtime.RichFloat   9 XMLTermNames.this.createNameType:(name: String)XMLTermNames.this.NameType   8 io.this.Path.jfile2path:(jfile: scala.tools.nsc.io.JFile)scala.tools.nsc.io.Path    8 implicit private[package partest] def temporaryFile2Path(x: java.io.File): scala.tools.nsc.io.Path   8 implicit override def mkNumericOps(lhs: T): Integral.this.IntegralOps   8 implicit def option2Iterable[A](xo: Option[A]): Iterable[A]    8 implicit def doubleWrapper(x: Double): scala.runtime.RichDouble   8 UnPickler.this.global.promoteTermNamesAsNecessary:(name: UnPickler.this.global.Name)UnPickler.this.global.TermName    8 Symbols.this.promoteTermNamesAsNecessary:(name: Symbols.this.Name)Symbols.this.TermName   8 ScalaSigEntryParsers.this.byteCodeEntryParser[Long]:(rule: scala.tools.scalap.scalax.rules.scalasig.ScalaSigAttributeParsers.Parser[Long])scala.tools.scalap.scalax.rules.scalasig.ScalaSigEntryParsers.EntryParser[Long]    8 PatMatVirtualiser.this.CODE.mkTreeFromSelectStart:(ss: PatMatVirtualiser.this.CODE.SelectStart)PatMatVirtualiser.this.global.Select   8 Parsers.this.global.promoteTermNamesAsNecessary:(name: Parsers.this.global.Name)Parsers.this.global.TermName    8 JavaParser.this.p2i:(pos: JavaParsers.this.global.Position)Int   7 scala.this.Predef.wrapRefArray[String]:(xs: Array[String])scala.collection.mutable.WrappedArray[String]   7 scala.this.Predef.refArrayOps[String]:(xs: Array[String])scala.collection.mutable.ArrayOps[String]    7 implicit def mapAsScalaMapConverter[A,B](m: java.util.Map[A,B]): scala.collection.JavaConverters.AsScala[scala.collection.mutable.Map[A,B]]   7 TypePrinter.this.view:(n: String)scala.text.Document    6 scala.this.Option.option2Iterable[Nothing]:(xo: Option[Nothing])Iterable[Nothing]   6 implicit def keyword(chars: String): StdTokenParsers.this.Parser[String]   6 StdLexical.this.accept:(e: StdLexical.this.Elem)StdLexical.this.Parser[StdLexical.this.Elem]    6 Parsers.this.global.stringToTermName:(s: String)Parsers.this.global.TermName   6 GenJVM.this.global.stringToTermName:(s: String)GenJVM.this.global.TermName   5 xml.this.NodeSeq.seqToNodeSeq:(s: Seq[scala.xml.Node])scala.xml.NodeSeq    5 sys.this.BooleanProp.booleanPropAsBoolean:(b: scala.sys.BooleanProp)Boolean   5 implicit def wrapTraversableOnce[A](trav: scala.collection.TraversableOnce[A]): scala.collection.TraversableOnce.MonadOps[A]    5 implicit def mkTreeMethodsFromSymbol(target: TreeDSL.this.global.Symbol): scala.tools.nsc.ast.TreeDSL.CODE.TreeMethods   5 TypeParser.this.global.stringToTermName:(s: String)TypeParser.this.global.TermName    5 TreeGen.this.global.stringToTermName:(s: String)TreeGen.this.global.TermName   5 SpecializeTypes.this.global.promoteTermNamesAsNecessary:(name: SpecializeTypes.this.global.Name)SpecializeTypes.this.global.TermName    5 Macros.this.global.stringToTermName:(s: String)Macros.this.global.TermName   5 JavaTokenParsers.this.regex:(r: scala.util.matching.Regex)JavaTokenParsers.this.Parser[String]   5 JavaParsers.this.global.promoteTermNamesAsNecessary:(name: JavaParsers.this.global.Name)JavaParsers.this.global.TermName    5 Constructors.this.global.promoteTermNamesAsNecessary:(name: Constructors.this.global.Name)Constructors.this.global.TermName   5 ClassfileParser.this.global.promoteTermNamesAsNecessary:(name: ClassfileParser.this.global.Name)ClassfileParser.this.global.TermName

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland