Companion

object Companion

Properties

Link copied to clipboard
const val FUNCTOR: String

The functor of alias/2 facts, i.e. "alias".

Functions

Link copied to clipboard
fun forObject(alias: String, object: Any?): Alias

Builds an Alias fact naming object (wrapped into an ObjectRef) as alias.

Link copied to clipboard
fun forType(alias: String, type: KClass<*>): Alias

Builds an Alias fact naming type (wrapped into a TypeRef) as alias.

Link copied to clipboard
fun of(alias: Struct, ref: Ref): Alias

Builds an Alias fact naming ref as the (ground) term alias.