-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello!
Currently this library represents paths as a 2 variant custom type that each hold a list of strings. I think it would be advantageous to instead use a string:
- It will make this library easier to use with other libraries. If the path type is defined in this library then any other library that uses it will have to depend on this one, however if it uses a core type than we don't need to add this dep to all other path using libraries.
- It removes boilerplate from the library as there's less wrapping and unwrapping to get to and from the input strings and strings to be given to the path using functions.
- It makes FFI easier as it's the same type that both targets use.
- It is conceptually simpler and easier to read.
Thanks,
Louis
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels