Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

review and tidy Primitives.hs

Open
#263 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
haskell
Domain
compilers

Research direction

Start by reviewing Primitives.hs and cataloguing which definitions are required, especially word and the Yul primops, versus relics from earlier iterations. Then assess whether the remaining constructs belong in a prelude.solc. Done means the primitive set has been reviewed, unnecessary definitions are removed, and any extraction decision is documented or implemented.

Written by the indexing model from the issue text.

Description

Primitives.hs contains many things that are either needed but not really "true" primitives, or are relics from previous iterations and no longer required.

As far as I'm aware the only real fundamentally required primitives are:

  • word
  • the yul primops

We should review the set of primitives in Primitives.hs and:

  1. remove the ones we don't need
  2. consider extracting the remaining constructs into a prelude.solc
Dominant language
Haskell
Stars
113
Forks
10
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from argotorg/solcore

All issues in argotorg/solcore

Similar issues

More Haskell issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.