clojure / clojure/clojurescript-site

Mention ^string, ^number in "Type hinting" section

Open
#316 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

minor
Dominant language
Shell
Stars
107
Forks
130
PR merge metrics
No merged PRs in 30d

Description

https://github.com/clojure/clojurescript-site/blob/0ef3da1d56fed6d9de322fed4973f2b17ecf6a9e/content/about/differences.adoc#hinting says:

the only type hint of significance is the ^boolean type hint: It is used to avoid checked if evaluation (which copes with the fact that, for example, 0 and "" are false in JavaScript and true in ClojureScript).

, but that's not true anymore given the ^string, ^number additions.

Contributor guide

No contributing guide indexed for this repository

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

Open content/about/differences.adoc at the “Type hinting” section and compare the current wording with the issue’s cited text. Update the statement so it reflects the added ^string and ^number type hints, then verify the documentation renders correctly.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.