Le mer. 24 mai 2023 à 23:37, Grégory Vanuxem <g.vanu...@gmail.com> a écrit :
> I is not clear what you really want. Spad compiler has its own rules. >> Given JF64VEC and JCF64VEC intepreter has no way to know which one >> is better, so it probably uses lexicographic order. How to >> force right choice: >> - you already know @Domain, that good solution >> - you may use different names depending on type, for example 'urand01_rv', >> 'urand01_cv', etc. >> > > Yes, this is what I just did. It's for now the simplest way though > unsatisfactory to me (urand01 vs curand01). > > - do as you planned and split the package. Expose wanted part. >> > > I will. It's the most natural way I think and this is the Axiom way. ATM > I'm working on the "back end", the LISP and C part to try to better > granulate the code and juggle with the different LISP implementation > specificities so pure Spad "work" is not really my concern, but the more > I'm thinking about that the more I'm thinking I'll do that first. In fact > my mail was about is there a very simple way to change the interpreter > selection in this case. So no. > > >> I wrote about idea of partial exposure: if we could control exposure >> for each function, we could mark unwanted variant as unexposed. >> But ATM partial exposure is just an idea (and to that not fully >> baked idea). >> > > Right now I'm on Linear Algebra stuff from the Julia team, the one > available by default, and there is a "hidden" part which is more closer to > the BLAS/LAPACK interface. Routines in this part are only available via > package call, they are not exported. Though this is not very handy I think > this possibilty would be benefic to FRICAS. Sometimes all exported routines > are not necessary and overpopulate the global namespace. But unexposing an > exposed routine I do know a language that does that. > I forgot to say that in this "hidden" part it is possible to import routines, but individually. So you do not have to package call it. > > Anyway, thanks for your response. > __ > Greg > > >> >> >> -- >> Waldek Hebisch >> >> -- >> You received this message because you are subscribed to the Google Groups >> "FriCAS - computer algebra system" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to fricas-devel+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/fricas-devel/20230524201141.kgtajvebwxo2fyop%40fricas.math.uni.wroc.pl >> . >> > -- You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To unsubscribe from this group and stop receiving emails from it, send an email to fricas-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/fricas-devel/CAHnU2dZmV-OCxf_DUGO2AB7TFzdDjg08JyCC1b2Cb2a2wcWD%3Dw%40mail.gmail.com.