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

export set functions #15

Closed
schochastics opened this issue Sep 22, 2023 · 4 comments
Closed

export set functions #15

schochastics opened this issue Sep 22, 2023 · 4 comments
Assignees
Labels

Comments

@schochastics
Copy link
Member

No description provided.

@schochastics
Copy link
Member Author

I will postpone this to a later version. Better focus on cleaning, documenting and testing

@schochastics schochastics added 0.3.0 and removed 0.2.0 labels Sep 24, 2023
@schochastics schochastics self-assigned this Oct 16, 2023
@schochastics
Copy link
Member Author

seems like I misunderstood what the set functions do. They return a boolean and check if the provided URL has the input as component.

Rcpp_ada_set_href("https://google.de/fast","https://google.de/fast",decode = TRUE)
#> TRUE

Rcpp_ada_set_href("https://google.de/fast","https://google.de/slow,decode = TRUE)
#> FALSE

Not sure how useful this is?

@chainsawriot
Copy link
Collaborator

@schochastics Not just the boolean. It seems that it also modifies the pointed-to data in place (welcome to the wonderful world of non-functional programming).

@schochastics
Copy link
Member Author

@chainsawriot Yeah I am just digging through that. Appears as if we need to write some extra c++ around that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants