[v3] Implement new Concept Exercise: `Reduce`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di exercism/clojure
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
-
Tests that involve floating-point checks fail on JVMForse di nuovo libera @tasxatzial l’ha presa 540 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Templates for practice exercisesForse di nuovo libera @tasxatzial l’ha presa 540 giorni fa e non c’è nessuna pull request aperta. Aperta
exercism/clojure#821 · 1 commento · 1 reazione · 1 assegnatario ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
Tutte le issue di exercism/clojure
Issue simili
-
.Needs Triage Priority:P3 Type:New Feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
metabase/metabase#83625 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
replikativ/datahike#1105 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
clj-commons/loom#166 ·
I maintainer di solito rispondono entro 1 giorno