input-output-hk / input-output-hk/cuddle

Collect rules in definition order for export to CDDL

Open
#35 2 comments 0 reactions 0 assignees View on GitHub
Huddle
Dominant language
Haskell
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

As with all languages, we may sometimes want to group related definitions together when doing helps to understand the semantics of what's being written. At the moment, collecting CDDL definitions from a file has no knowledge of the definition order, since this is opaque to Haskell at the surface level.

Perhaps some TH stuff would work.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that collects CDDL definitions from a file and examining how the Haskell surface currently loses definition order. Investigate whether Template Haskell can preserve that order; done means exported CDDL rules retain the order in which definitions appear in the source.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.