concepts.language.ccg.semantics.CCGSemanticsSimpleConjFunction#

class CCGSemanticsSimpleConjFunction[source]#

Bases: CCGSemanticsConjFunction

A simple implementation for CCGSemanticsConjValue.

This function takes a function that works for Value and automatically converts it to a function that works for Function.

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.