trait
LiteralHash[X] extends AnyRef
Type Members
-
abstract
type
TypeHash <: Dense
-
abstract
type
ValueHash <: Dense
Abstract Value Members
-
abstract
val
value: X
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (LiteralHash[X], B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (LiteralHash[X], B)
Typelevel representation of a compile time constant literal.
The type hash encoded the type of the literal and the value encoded the value of the literal therefore, even if say, a char and string have the same value hash, they will have different literal hashes.
Author:
Harshad Deo
Type of the literal that has been hashed
0.1