-
Notifications
You must be signed in to change notification settings - Fork 8
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
Naming convention for purenix libraries. #41
Comments
@thought2 Thanks a good question. I'm not sure what the best answer is. Maybe @f-f has an answer (or at least an opinion)? It looks like purescm is keeping the libraries called |
I can't find a precise pointer to this right now, but In |
Ah, yeah, PureNix is the same way. All the current
Oh, this is a good point. I'd been meaning to ask if libraries for alternative backends would be supported in the PureScript registry. Whatever name we pick for these PureNix libraries, it will have to be compatible with the PureScript Registry (whether that means with a |
Another thought about this: I think it would be really powerful if there are FFI-less packages that in the end could be used with any backend. Those packages may still have dependencies to other libs that have FFI which would be resolved differently for each backend. But in my current understanding it's not really possible. It would work, if the FFI libs and their forks on the PureScript side are 100% compatible. But I think it's not really possible in every case. See, for instance this section here: https://github.com/thought2/purescript-foreign/blob/main/src/Foreign.purs#L137 where I needed to enhance the API for nix specifics. |
I noticed that the ports of the 'official' PS packages still keep the same names of their origins.
E.g.
purescript-nonempty
Would it maybe make sense to name them either
purescript-nix-nonempty
or evenpurenix-nonempty
. I think thepurescript-
prefix is a leftover from bower times. It's not mandatory for spago anymore?The text was updated successfully, but these errors were encountered: