concepts.language.ccg.semantics.CCGSemanticsConjFunction#

class CCGSemanticsConjFunction[source]#

Bases: object

CCGSemanticsConjFunction is a wrapper that represents the semantics form of a conjunction term (e.g., AND).

Methods

Attributes

impl

The underlying implementation of the conjunction.

__call__(lhs, rhs)[source]#

Perform the conjunction.

Parameters:
Returns:

the conjunction result.

Return type:

Value | Function

__init__(impl)#
Parameters:

impl (Callable[[Value | Function, Value | Function], Value | Function])

Return type:

None

__new__(**kwargs)#
impl: Callable[[Value | Function, Value | Function], Value | Function]#

The underlying implementation of the conjunction.