Integrated Dynamics

Integrated Dynamics

63M Downloads

Signature of operators are parenthesized incorrectly

josephcsible opened this issue ยท 0 comments

commented

Issue type:

Only keep the issue types that are applicable.

  • ๐Ÿ› Bug

Short description:

Some operators' type signatures are parenthesized incorrectly, such as Reduce.

Expected behaviour:

Operator Reduce is supposed to have the signature Operator -> List -> Any -> Any (which could be correctly parenthesized as Operator -> (List -> Any -> Any)), which means a function that takes an Operator, a List, and an Any, and returns an Any (which is what Reduce actually does, so it's only the displayed signature that's wrong).

Actual behaviour:

Operator Reduce actually has the signature (Operator -> List -> Any) -> Any, which means a function that takes a function that takes an Operator and a List and returns an Any, and returns an Any.

Steps to reproduce the problem:

  1. Create a variable card containing the Reduce operator.
  2. Mouse over the variable card in your inventory.

Versions:

Exact versions of the following mods, not just latest.

Development version 2a2dd1a, with all of the dependency versions used by ./gradlew runClient.

Log file:

Nothing relevant in the log.