Skip to content

[#206] Split `Indigo.Prelude` into 2 modules

Moremi Vannak requested to merge rinn7e/#206-split-indigo-prelude into master

Description

Problem: Indigo.Prelude was originally used to define all the hiding rules in one place and then to be imported within Indigo. However, we also export as part of Indigo module which then creating conflicts due to we re-using the same function names and syntax to write Indigo contract.

Solution: Split current Indigo.Prelude into two. Indigo.Backend.Prelude which is used like it original purpose. New Indigo.Prelude which should be used as Export to write Indigo contract.

Related issue(s)

Resolves #206 (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 changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Moremi Vannak

Merge request reports