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: `Higher-order functions`

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
clojure
Ambito
content

Direzione di ricerca

Inizia leggendo docs/features-of-v3.md, docs/rationale-for-v3.md e docs/concept-exercises.md, quindi esamina l'esercizio JavaScript elyses-transformative-enchantments e la guida Clojure collegata. Crea i file .docs, .meta, source e test specificati sotto languages/clojure/exercises/concept/; il lavoro è completato quando l'esercizio insegna gli obiettivi elencati sulle funzioni di ordine superiore e i relativi test e metadati seguono la struttura v3.

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

Descrizione

This issue describes how to implement the Higher-order functions 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 to use higher-order functions in Clojure.

It can be a simple port of elyses-transformative-enchantments from the JavaScript Track.

Learning objectives

The student will gain a general understanding of:

  • First Class Functions
  • Functions that take one or more functions as arguments
  • Functions that return a function as its result

Out of scope

  • This is a general overview of the concept, not in-depth usage of specific functions.

Concepts

  • higher-order-functions

Prerequisites

  • basics

Resources to refer to

Clojure guide - Higher Order Functions

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.