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

You should be able to easily load from lips scheme module directory #354

Closed
jcubic opened this issue Mar 29, 2024 · 1 comment
Closed

You should be able to easily load from lips scheme module directory #354

jcubic opened this issue Mar 29, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@jcubic
Copy link
Collaborator

jcubic commented Mar 29, 2024

This works on devel branch:

(load (string-append (--> (require.resolve "@jcubic/lips")
                          (replace #/dist.*/ ""))
                     "lib/srfi/1.scm"))

There should be a way to load with:

(load "@jcubic/lips/lib/srfi/1.scm")

If possible, this should work when package change name.

@jcubic jcubic added the enhancement New feature or request label Mar 29, 2024
@jcubic jcubic added this to the 1.0 milestone Mar 29, 2024
@jcubic jcubic changed the title You should be able to easily load from lips scheme module director You should be able to easily load from lips scheme module directory Mar 30, 2024
jcubic added a commit that referenced this issue Mar 30, 2024
@jcubic
Copy link
Collaborator Author

jcubic commented Mar 30, 2024

Now @lips is project root repo:

(load "@lips/lib/srfi/1.scm")

Need to check if you can do the same for the Browser.

jcubic added a commit that referenced this issue Mar 30, 2024
jcubic added a commit that referenced this issue Mar 30, 2024
jcubic added a commit that referenced this issue Mar 30, 2024
jcubic added a commit that referenced this issue Mar 30, 2024
jcubic added a commit that referenced this issue Mar 30, 2024
jcubic added a commit that referenced this issue Mar 30, 2024
jcubic added a commit that referenced this issue Mar 30, 2024
@jcubic jcubic closed this as completed Mar 31, 2024
jcubic added a commit that referenced this issue May 13, 2024
jcubic added a commit that referenced this issue May 13, 2024
jcubic added a commit that referenced this issue May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant