org.emergentorder.compiletime
package org.emergentorder.compiletime
Type members
Classlikes
final case
class ##:[+H <: DimensionDenotation, +T <: TensorShapeDenotation](head: H, tail: T) extends TensorShapeDenotation
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