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: Character types

Aperta
#313 2 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
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
clojure
Ambito
content

Direzione di ricerca

Leggi prima i documenti collegati relativi a v3 concept-exercise, motivazione e struttura, quindi ispeziona gli exercises esistenti in languages/clojure/exercises/concept. Crea i file .docs, .meta, sorgente e test elencati per l’esercizio Character types; il lavoro è completato quando l’esercizio copre char, string e regular_expression senza modifiche a representer o analyzer.

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

Descrizione

This issue describes how to implement the Character types 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:

Goal

The goal of this exercise is to teach the student how character types are implemented in Clojure. According to the official guide this includes 3 main types: strings, characters and regular expressions.

Things to teach

This exercise aims to teach the student:

  • Clojure strings are Java strings - eg. they are immutable
  • Contained in double quotes
  • Individual characters represented w/ leading backslash \
  • Special characters (\newline \spec \tab, etc.)
  • Unicode characters (\uNNNN or in octal with \oNNN)
  • Literal regex syntax - #"[0-9]+"

Things not to teach

Things outside the scope of this exercise are:

  • Advanced regex usage

Concepts

This exercise teaches the following concepts:

  • char
  • string
  • regular_expression

Prerequisites

This is a base-level concept and likewise only assumes general knowledge of English letters.

Resources to refer to

Hints
After

Representer

This exercise does not require any modifications to the track's representer.

Analyzer

This exercise does not require any special analysis to be added for it.

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.