exercism / exercism/elixir

Implement new Concept Exercise: `macros`

Đang mở
#590 13 bình luận 2 reaction 0 người được giao Xem trên GitHub
concept-exercise v3 x:action/create x:knowledge/intermediate x:module/concept-exercise x:size/large x:type/content
Ngôn ngữ chính
Elixir
Star
664
Fork
416
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Learning objectives

- `defmacro`
- the `Macro` module
- what's an AST
- when *not* to use macros

## Out of scope

I am not sure if explaining `require`/`use` in the same exercise would be a good idea. It's a lot of difficult concepts at once. But maybe it makes sense?

## Concepts

- `macros`

## Prerequisites

Come up with something that will put this concept far down the concept tree. Maybe this should depend on a non-existent yet concept of dynamically defining functions without macros? (see https://github.com/exercism/elixir/pull/583#discussion_r567406673)

## Practice exercises

Those practice exercises should have `macros` in their prerequisites and as `practices`:
- `dot-dsl`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.