org.emergentorder.compiletime

Type members

Classlikes

final case
class ##:[+H <: DimensionDenotation, +T <: TensorShapeDenotation](head: H, tail: T) extends TensorShapeDenotation
sealed
Companion
object
case
object TSNil extends TSNil
Companion
class
sealed
trait TensorShapeDenotation extends Product with Serializable
Companion
object
final

Type-class used to materialize the singleton type of a TensorShapeDenotation.

Type-class used to materialize the singleton type of a TensorShapeDenotation.

This is useful to implicitly convert a type-level representation of a TensorShapeDenotation to a term representing the same TensorShapeDenotation, for instance by using the shapeOf method:

shapeOf[TSNil.type]      //=> TSNil
shapeOf[1 ##: 2 ##: TSNil] //=> 1 ##: 2 ##: TSNil
Companion
object

Types

type DimensionDenotation = String & Singleton

Value members

Concrete methods