Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[v3] Implement new Concept Exercise: `Reduce`

Aperta
#335 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
clojure
Ambito
content

Direzione di ricerca

Leggi docs/features-of-v3.md, docs/rationale-for-v3.md e docs/concept-exercises.md, quindi guarda il video collegato Anatomy of a Concept Exercise. Crea i file elencati in languages/clojure/exercises/concept/, inclusi i file di documentazione, progettazione, esempio, codice sorgente e test. Il lavoro è completato quando l’esercizio insegna a ridurre una funzione su una collection senza trattare i transducers e segue i prerequisiti e il concept specificati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

This issue describes how to implement the Reduce concept exercise for the Clojure track.

Getting started

Please please please read the docs before starting. Posting PRs without reading these docs will be a lot more frustrating for you during the review cycle, and exhaust Exercism's maintainers' time. So, before diving into the implementation, please read up on the following documents:

Please also watch the following video:

Goal

The goal of this exercise is to teach the student how the reduce function is implemented in Clojure.

Learning objectives

The student will gain a general understanding of:

  • The concept of reducing a function on a collection

Out of scope

  • Transducers

Concepts

  • higher-order-functions

Prerequisites

  • basics

Resources to refer to

Clojure for the Brave and True - Core Functions in Depth

Representer

The Clojure Representer is currently being implemented and contributions are welcome.

Analyzer

The Clojure Analyzer is currently being implemented and contributions are welcome.

Implementing

To implement a concept exercise, the following files must be created:

languages
└── clojure
    └── exercises
        └── concept
            └── <SLUG>
                ├── .docs
                |   ├── instructions.md
                |   ├── introduction.md
                |   ├── hints.md
                |   └── after.md (optional)
                ├── .meta
                |   |── design.md
                |   └── Example.clj
                ├── <NAME>.clj
                └── <NAME>_test.clj

Help

If you have any questions while implementing the exercise, please post the questions as comments in this issue.

Lingua principale
Clojure
Stelle
178
Fork
159
Merge medio
18m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di exercism/clojure

Tutte le issue di exercism/clojure

Issue simili

Altre issue su Clojure

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.