ulkb.Theory.lookup_type_constructor#

Theory.lookup_type_constructor(arg, default=<class 'ulkb.util.Nil'>)[source]#

Searches for type constructor.

If default is given, returns it instead of raising an exception.

Parameters:
Returns:

TypeConstructor.

Raises:

LookupErrorarg not in theory.