Skip to content

WIP draft of chars concept #805

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 46 commits into from
Closed

Conversation

colinleach
Copy link
Contributor

I decided there is enough in this to justify separating it from the Strings concept.

No decision yet on the corresponding exercise. I'll draft Strings first, then consider them both together.

@colinleach
Copy link
Contributor Author

There are a couple of exercises in other tracks that might work;

  • squeaky-clean (C#, F#, Clojure, Elm, Java)
  • library-of-luton (Crystal)

I had wondered about putting Chars above Strings in the syllabus, to set the scene for discussing indexing issues in Strings. However, both these exercises include an element of string handling, and tracks with a separate Chars concept seem to put it low down.

BNAndras and others added 24 commits October 6, 2024 23:27
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@692973e...eef6144)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 2.3.0 to 2.6.0.
- [Release notes](https://github.com/julia-actions/setup-julia/releases)
- [Changelog](https://github.com/julia-actions/setup-julia/blob/master/devdocs/making_a_new_release.md)
- [Commits](julia-actions/setup-julia@780022b...9b79636)

---
updated-dependencies:
- dependency-name: julia-actions/setup-julia
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/julia-actions/cache/releases)
- [Changelog](https://github.com/julia-actions/cache/blob/main/devdocs/making_a_new_release.md)
- [Commits](julia-actions/cache@8608484...8242439)

---
updated-dependencies:
- dependency-name: julia-actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5076954...b4b15b8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@eef6144...11bd719)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/julia-actions/setup-julia/releases)
- [Changelog](https://github.com/julia-actions/setup-julia/blob/master/devdocs/making_a_new_release.md)
- [Commits](julia-actions/setup-julia@9b79636...5c9647d)

---
updated-dependencies:
- dependency-name: julia-actions/setup-julia
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@b4b15b8...6f51ac0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 2.0.5 to 2.0.7.
- [Release notes](https://github.com/julia-actions/cache/releases)
- [Changelog](https://github.com/julia-actions/cache/blob/main/devdocs/making_a_new_release.md)
- [Commits](julia-actions/cache@8242439...2b1bf4d)

---
updated-dependencies:
- dependency-name: julia-actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@6f51ac0...65c4c4a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* WIP draft of numbers concept

* enlarged/corrected section on rounding

* added section on isapprox() for floats

---------

Co-authored-by: Colin Leach <[email protected]>
* another attempt at booleans

* Update about.md

like that?

---------

Co-authored-by: Colin Leach <[email protected]>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@65c4c4a...4cec3d8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [cars-assemble] new Concept Exercise

* clean up tests file, comments deleted

* Update hints.md

Changed a comma at the end of a sentence to a period

* Update instructions.md

agreed

* Update cars-assemble.jl

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: depial <[email protected]>
* WIP draft of conditionals concept

* added comment about no switch

* added introduction, moved from wip to concepts

* Update config.json

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: Colin Leach <[email protected]>
* modify concept exercise lasagna

* added guard on one test, which fails on v1.6 LTS

* Update exercises/concept/lasagna/.meta/design.md

Co-authored-by: András B Nagy <[email protected]>

* Update exercises/concept/lasagna/.docs/introduction.md

Co-authored-by: András B Nagy <[email protected]>

* responses to @BNAndras review comments

* Update introduction.md

Fixing the requested change I missed in the previous commit.

* Update exercises/concept/lasagna/.docs/instructions.md

Co-authored-by: András B Nagy <[email protected]>

* Update exercises/concept/lasagna/.docs/introduction.md

oops...

Co-authored-by: András B Nagy <[email protected]>

* tidied wording of arithmetic operators

---------

Co-authored-by: András B Nagy <[email protected]>
Co-authored-by: Colin Leach <[email protected]>
* WIP draft of arrays concept

* changed `arrays` to `vectors`, moved from wip to concepts

* added introduction + config entry

* fixed config error, removed `concepts.wip/vectors`.

* Update about.md

* Update introduction.md

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: Colin Leach <[email protected]>
* [elyses-enchantments] Concept exercise

* Update design.md

Changes typo "enties" to "entries"

* Update introduction.md

Add missing "of"

* Update elyses-enchantmants.jl

Add new line to function definitions

* fixed typo in file names

* Update config.json

* Update config.json

* Update runtests.jl

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: depial <[email protected]>
* add high-school-sweetheart concept exercise

* Update introduction.md
* New concept basics

* Update concepts/basics/about.md

Co-authored-by: András B Nagy <[email protected]>

* Update concepts/basics/about.md

Co-authored-by: András B Nagy <[email protected]>

* Update concepts/basics/links.json

Co-authored-by: András B Nagy <[email protected]>

* Fix small typo in about.md

* formatting cleanup

* recycled old UUID from unwanted concept

* a few typos and inelegancies fixed

* synced introduction.md with Lasagna exercise

* Update config.json

---------

Co-authored-by: András B Nagy <[email protected]>
Co-authored-by: depial <[email protected]>
Co-authored-by: Colin Leach <[email protected]>
* WIP draft currency-exchange concept exercise

* extra bits in .meta/config.sys

* filled in fields in config.sys

* fixed linter problem

* added introduction and design

* Update currency-exchange.jl

Add new line to function skeletons

* Update introduction.md

Aligning descriptions of floating point numbers with introduction.md in the concept

* Update config.json

* Update config.json

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: depial <[email protected]>
depial and others added 11 commits March 3, 2025 18:54
Change blurb to reflect focus on function composition
* WIP draft ranges concept

* added functions and operators section, including `in`

* Update introduction.md

copied from chessboard exercise

* moved from `concepts.wip` to `concepts`

* fixed configlet.json

* WIP draft ranges concept

* added functions and operators section, including `in`

* Update introduction.md

copied from chessboard exercise

* moved from `concepts.wip` to `concepts`

* fixed configlet.json

* Update config.json

* Update config.json

* Update about.md

Sync with introduction.md

* Update introduction.md

Sync with about.md

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: depial <[email protected]>
* Chessboard concept exercise

* moved solution to exemplar.jl

* Update chessboard.jl

Added new line to function skeletons

* Update introduction.md

Syncing with concept introduction.md

* Update instructions.md

Good catch! That was sloppy copy-paste from another language track.

* Update design.md

Nothing comes to mind at this stage, so I've removed that subsection. We may want to add it back later, when we get a better view of the advanced topics.

Luckily, the rules are non-prescriptive about the contends of this file. It's just a note to guide future maintainers.

* Update config.json

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: depial <[email protected]>
* WIP draft of array-operations

* added link

* Update introduction.md

Copied from `bird-watcher`

* Update introduction.md

Fixing typos to sync with introduction.md of the exercise

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: depial <[email protected]>
* `bird-watcher` concept exercise

* Update introduction.md

Clear up two typos

* Update instructions.md

added demo for `average_per_day()`

* Update instructions.md

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: depial <[email protected]>
Change concept exercises names to capitals and spaces
* vector-operations, another attempt

* text cleanup

* Update config.json

---------

Co-authored-by: Colin Leach <[email protected]>
Co-authored-by: depial <[email protected]>
Delete strings from prerequisites of high-school-sweetheart
@colinleach colinleach mentioned this pull request Mar 21, 2025
@colinleach
Copy link
Contributor Author

Another day, another rebase disaster. I'll close this PR and create a new, clean one.

@colinleach colinleach closed this Mar 22, 2025
@colinleach colinleach deleted the chars-draft branch March 25, 2025 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants