Skip to content
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

High school sweetheart #830

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

depial
Copy link
Contributor

@depial depial commented Feb 26, 2025

This is the concept exercise high-school-sweetheart to accompany the concept function compsition(#821). This has been taken from the crystal version with minor modifications made for the Julia language. Also the word 'ASCII' has been replaced by 'unicode', since this is more accurate.

The introduction.md has been left blank, to be filled in once the about.md is made for the concept.

@depial
Copy link
Contributor Author

depial commented Feb 26, 2025

As this was taken from the Crystal version, which I believe is meant as a string method concept exercise, instructions.md and hints.md need some updating to better highlight the ideas of function composition.

@colinleach
Copy link
Contributor

Hmmm... I'm trying to remember why I put this down as a possible exercise for this concept. Gleam uses it for the pipe-operator concept, which may be relevant. Dow that have a more useful set of documents?

This is the list I've been working from.

@depial
Copy link
Contributor Author

depial commented Feb 26, 2025

It's quite fine for function composition, since it allows for use of the function composition operator, as well as piping and nesting. Actually, my first exemplar.jl used the composition operator, but I reverted to more explicit function calls for clarity.

I think I'll change the exemplar to include varied function composition techniques.

instructions.md and hints.md just need to be modified for the change in emphasis, which I'll be happy to do. I just wanted to get things up for collaboration's sake.

@colinleach
Copy link
Contributor

My brain is pretty frazzled after the recent booleans fiasco, so I'm reluctant to touch anything at the moment. It will be better/safer if I look at this tomorrow, if that's OK with you.

It's probably best if you make the introduction.md while you have your head into the exercise. It should just mean deleting stuff, which is a lot quicker and easier than writing it.

Add a variety of function composition techniques
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.

2 participants