Re: [julia-users] Converting a string to a custom type results in a function that is not type stable

2015-06-24 Thread Milan Bouchet-Valat
Le mercredi 24 juin 2015 à 01:18 -0700, colintbow...@gmail.com a écrit : Hi all, I've got an issue I don't really like in one of my modules, and I was wondering the best thing (if anything) to do about it. The module if for dependent bootstraps, but the problem is more of a project

[julia-users] Converting a string to a custom type results in a function that is not type stable

2015-06-24 Thread colintbowers
Hi all, I've got an issue I don't really like in one of my modules, and I was wondering the best thing (if anything) to do about it. The module if for dependent bootstraps, but the problem is more of a project design issue. I have a type for each bootstrap method, e.g. `StationaryBootstrap`,

Re: [julia-users] Converting a string to a custom type results in a function that is not type stable

2015-06-24 Thread John Myles White
Excited you're working on dependent data bootstraps. I implemented one just the other day since it could be useful for analyzing benchmark data. Would be great to have other methods to do out. -- John On Wednesday, June 24, 2015 at 5:31:52 AM UTC-4, Milan Bouchet-Valat wrote: Le mercredi 24

Re: [julia-users] Converting a string to a custom type results in a function that is not type stable

2015-06-24 Thread Colin Bowers
If you're interested, the source is here: https://github.com/colintbowers/DependentBootstrap.jl I haven't tried to make it into a registered package yet as I'm still tinkering with it a fair bit. But I think I'm nearly there. It is fairly comprehensive for univariate bootstrapping, ie lots of

Re: [julia-users] Converting a string to a custom type results in a function that is not type stable

2015-06-24 Thread Colin Bowers
Thanks for responding. Yes, I think I will do it your way. I was initially hoping there would be a neat way to duplicate how R would do it, ie, with keyword arguments typically always strings or numbers since this is what many new users will be familiar with, but maybe in the end it would just be