I dont like (unless (load-bundle! specifier) ...) clause.
If you change the translation in source code, old version will be used, 
because (load-bundle! specifier) will load old version and return #t.

вторник, 23 июля 2019 г., 12:00:25 UTC+5 пользователь Bogdan Popa написал:
>
> > Is it OK to wrap declare-bundle! + store-bundle inside (begin-for-syntax 
> > ...) to make side effect during raco setup? If not, what is preferred 
> way 
> > to do it? 
>
> Is there any reason not to do it at runtime?  This[1] is what I do in 
> forms-lib.  Other modules depend on that module so the bundles are 
> declared the first time it is loaded.  It's not optimal for versioning, 
> but it gets the job done. 
>
>
> [1]: 
> https://github.com/Bogdanp/racket-forms/blob/master/forms-lib/private/l10n.rkt#L27-L33
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/8b12ad2c-5342-4960-861e-f33ec00c0c4b%40googlegroups.com.

Reply via email to