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

Contains function for stdlib #315

Merged
merged 5 commits into from
Jul 22, 2024
Merged

Conversation

Mte90
Copy link
Member

@Mte90 Mte90 commented Jul 17, 2024

I used grep as it is seems the best way to do that and cross compatible.

@Mte90 Mte90 requested review from Ph0enixKM and b1ek July 17, 2024 14:13
@Mte90 Mte90 marked this pull request as draft July 18, 2024 10:31
@Mte90
Copy link
Member Author

Mte90 commented Jul 18, 2024

Migrating as draft, as I want to get some functions from https://github.com/rbtylee/AmberResources/blob/main/lib/string/string.ab and add some test

@Mte90

This comment was marked as off-topic.

KrosFire

This comment was marked as off-topic.

@Ph0enixKM
Copy link
Member

Hands down we should go for the native solution. Thanks @KrosFire for the insight!

Co-authored-by: Hubert Jabłoński <[email protected]>
@Mte90 Mte90 requested a review from KrosFire July 19, 2024 08:44
Copy link
Member

@KrosFire KrosFire left a comment

Choose a reason for hiding this comment

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

LGTM

@Mte90
Copy link
Member Author

Mte90 commented Jul 19, 2024

Changed to the native version, on my tests I didn't think about a oneline with the bash condition.

PS: sorry I hidden @KrosFire review as error and I don't find a button to revert it.

Copy link
Member

@Ph0enixKM Ph0enixKM left a comment

Choose a reason for hiding this comment

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

LGTM

src/std/text.ab Outdated Show resolved Hide resolved
Co-authored-by: Phoenix Himself <[email protected]>
@Mte90 Mte90 marked this pull request as ready for review July 22, 2024 09:15
@Mte90 Mte90 merged commit 9e68c27 into amber-lang:master Jul 22, 2024
1 check passed
@Mte90 Mte90 deleted the stdlib-contains branch July 30, 2024 13:40
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.

3 participants