Skip to content

Conversation

@rzuckerm
Copy link
Collaborator

Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder!
For simplicity, please make sure that your pull request includes one and only one contribution.

Please fill one of the sections below as applicable.
Please also add any other relevant information to the Notes section at the bottom.
You may delete or just ignore any other sections.
For more information please refer to our contributing documentation

I Am Adding a New Code Snippet in an Existing Language

@rzuckerm rzuckerm added enhancement Any code that improves the repo baklava See: https://sampleprograms.io/projects/baklava/ labels Dec 23, 2024
@rzuckerm rzuckerm marked this pull request as ready for review December 23, 2024 20:42
@@ -0,0 +1,24 @@
func abs(n: int) -> int {
(n < 0) ? -n : n
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clever! I like this implementation of absolute value.

@rzuckerm rzuckerm merged commit d3bcc2d into TheRenegadeCoder:main Dec 24, 2024
4 checks passed
@rzuckerm rzuckerm deleted the baklava-never branch December 24, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

baklava See: https://sampleprograms.io/projects/baklava/ enhancement Any code that improves the repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Baklava in Never

2 participants