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

Implement StringToList #5

Open
sylvainhalle opened this issue Jul 15, 2021 · 0 comments
Open

Implement StringToList #5

sylvainhalle opened this issue Jul 15, 2021 · 0 comments

Comments

@sylvainhalle
Copy link
Contributor

In project Functions, package ca.uqac.lif.petitpoucet.function.strings.

This function should take as input a String, and produce as its output a List<String> where elements are each character of the original string.

The function should also implement (and test) the explanation relation, where:

  • The whole output list is linked to the input string
  • The i-th element of the output list is linked to the i-th character of the input string (this will require the use of the Range part)
ghost pushed a commit that referenced this issue Jul 27, 2021
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

No branches or pull requests

1 participant