Yes, that's what I mean. It would be fine if foo/bar.sld and foo.bar.scm would accept either `library` or `define-library`.
On Mon, Sep 25, 2023 at 4:15 PM <felix.winkelm...@bevuta.com> wrote: > > I think making r7 syntax by default makes sense as does define- library. > > Using sld would be good if (foo bar) imported from foo/bar.sld and not > > foo.bar.scm. > > > > How is supposed to be coded? Would that mean foo/bar.sld holds > a library definition of this sort: > > (define-library (foo bar) ...) > > Note that source files are not imported, they are loaded or compiled. > Importing would take place via some import library named (say) > "foo.bar.import.so", the source file origin of which could be arbitrary. > > > felix > >