setup submodule in a separate file #87

Open
opened 4 years ago by sorawee · 2 comments
sorawee commented 4 years ago (Migrated from github.com)

I see that https://pkgs.racket-lang.org/package/pollen-component currently has a failing test. I have not investigated the problem closely, but if I have to guess, it's due to how pollen-component requires pollen/setup, which in turns requires user's pollen.rkt. However, user's pollen.rkt also needs to require pollen-component to use it, causing a loading cycle.

Would it be possible to support setup submodule in a separate file to break the cycle?

(Again, this is just my guess, I have not actually tried it, so my diagnosis could be totally wrong)

I see that https://pkgs.racket-lang.org/package/pollen-component currently has a failing test. I have not investigated the problem closely, but if I have to guess, it's due to how `pollen-component` requires `pollen/setup`, which in turns requires user's `pollen.rkt`. However, user's `pollen.rkt` also needs to require `pollen-component` to use it, causing a loading cycle. Would it be possible to support `setup` submodule in a separate file to break the cycle? (Again, this is just my guess, I have not actually tried it, so my diagnosis could be totally wrong)
otherjoel commented 4 years ago (Migrated from github.com)
Looks similar to https://github.com/mbutterick/pollen/issues/229
mbutterick commented 4 years ago (Migrated from github.com)

I think Leandro has stopped using Racket. I doubt this will be fixed.

I think Leandro has stopped using Racket. I doubt this will be fixed.
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mbutterick/pollen-users#87
Loading…
There is no content yet.