IntersectMBO / IntersectMBO/plutus

Remove `BuiltinCasing` once pattern matching builtins are supported on the chain

Open
#7,192 0 comments 0 reactions 0 assignees View on GitHub
Builtins Internal Plinth Plugin status: triaged
Dominant language
Haskell
Stars
1.6k
Forks
508
Avg merge
3d 10h
Merged PRs (30d)
22

Description

In `PlutusIR.Compiler.Types` we have

```haskell
data DatatypeStyle
= ScottEncoding
| SumsOfProducts
| BuiltinCasing
-- ^ A temporary data type style used to make a couple of V3 ledger-api-test tests pass
-- before we can support casing on values of built-in types in newer protocol versions and
-- merge this into 'SumsOfProducts' (which is what controls whether 'Case' is available or
-- not).
```

As the comment says, `BuiltinCasing` is temporary and should be merged into `SumsOfProducts` once pattern matching builtins are enabled on the chain. This issue is for making sure that it does happen.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.