practicalli / practicalli/clojure

Clojure language curiosities

Open
#268 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
117
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Behavior of functions that are used instead of operators

(apply * []) equal 1
(apply + []) equal 0

Has to do with 1 and 0 being the identities of monoids with operators * and +

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file, test, or documentation entry point. Start by evaluating the two apply expressions in a Clojure REPL and identify where this language behavior should be documented; done means adding a clear explanation of the observed identity behavior in an agreed location.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.