carp-lang / carp-lang/Carp

Dynamic Map (dictionary)

Open
#828 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

haskell nice-to-have
Dominant language
Haskell
Stars
6k
Forks
187
Avg merge
8d 22h
Merged PRs (30d)
4

Description

I think adding dynamic maps (using the existing { key value, key value } syntax would be a nice and not overly hard thing to do. Obviously it should replicate as much as possible of the existing functionality (and names) of the static Map module.

One interesting design choice is whether to have something like the keywords of Clojure (e.g. :stuff) or if we're fine with just symbols, which would look something like this:

{ 'stuff 10, 'more-stuff 20 }

What do you all think?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. First review the existing static Map module and the current { key value, key value } syntax, then clarify the key representation and the expected equivalent functionality before defining completion.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.