hcarty / hcarty/indexmap

Add dump_to and dump_init functions

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
OCaml
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

These functions would take values from an IndexMap.t and put them in a concrete data structure.

```
let dump index indices set c =
Array.iteri (fun offset i -> set c offset (IndexMap.get index i)) indices
```

and something similar which takes an init or fold function and returns the dumped data structure.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names IndexMap.t, IndexMap.get, and Array.iteri but no file or test. Start by locating those entry points and determine the intended concrete data structures and init or fold semantics; done means the dump and dump_init APIs have agreed behavior and documented results.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.