com.github.gchudnov.bscript.builder.util

Type members

Classlikes

object Base26 extends BaseN
trait BaseN
class EqWrap[T <: AnyRef](val value: T)

Wrapper to allow the same case class to be put twice in a Map

Wrapper to allow the same case class to be put twice in a Map

 case class A(x: Int)

 val m0 = Map.empty[EqWrap[A], String]
 val m1 = m0 + (A(1) -> "10")
 val m2 = m1 + (A(1) -> "20")

 // at the end there should be several elements in Map, since we have two separate A instances
Companion:
object
object EqWrap
Companion:
class
case class Gen(seed: Long)

Name generator

Name generator

Companion:
object
object Gen
Companion:
class