Skip to content

[v3] Implement new Concept Exercise: anonymous-functions #309

@bobbicodes

Description

@bobbicodes

This issue describes how to implement the anonymous-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 anonymous functions in Clojure.

Learning objectives

The student will learn:

  • Creating anonymous functions with fn
  • Shorthand reader syntax (#, %, %&, etc.)

Out of scope

  • Higher-order functions

Concepts

  • anonymous-functions
  • evaluation
  • functions
  • rest-parameters

Prerequisites

  • basic-functions
  • variadic-functions

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 modifications to the track's analyzer.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions