Skip to content

[#60] add Indigo's ifThenElse definition for RebindableSyntax

Pinto Pasquale requested to merge pasqu4le/#60-add-indigo-ifThenElse into master

Description

This adds an ifThenElse function definition to Indigo (which uses RebindableSyntax) to be used in the if...then...else construct.

This is implemented so that the condition exa respects the constraint IsExpr exa Bool.

Related issue(s)

Resolves #60 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated the changelog if my changes are externally visible.

Stylistic guide (mandatory)

Merge request reports