Major update:
- put-function is much faster, by triggering check-syntax as early as
possible and avoiding its re-computation.
- More warnings and error reporting (in particular regarding mutated
variables).
- Added more information at the top of the script file, in particular some
caveats.

Please report bugs here:
https://github.com/Metaxal/quickscript-extra/issues

If you have already installed this:
raco pkg update quickscript-extra
and if DrRacket is open, click on "Scripts | Manage scripts | Unload
persistent scripts" to restart the script.

On Thu, May 7, 2020 at 12:52 PM Stephen De Gabrielle <
spdegabrie...@gmail.com> wrote:

> Awesome - keep them coming.
>
> You should feature one in each Racket-News!
>
> Stephen
>
> On Thu, 7 May 2020 at 10:33, Laurent <laurent.ors...@gmail.com> wrote:
>
>> Have you ever wanted to extract a block of code out of its context and
>> wrap it in a function?
>>
>> Have you ever *not* done it because of the cognitive load(*) of figuring
>> out the function arguments and the return values?
>>
>> Well, now it's as easy as Ctrl-Shift-X and Ctrl-Shift-Y. Using
>> check-syntax, the extract-function and put-function scripts figure out what
>> goes in and out for you.
>>
>> Video: https://www.youtube.com/watch?v=XinMxDLZ7Zw
>> `raco pkg install quickscript-extra` to install, or
>> `raco pkg update quickscript-extra` if it's already installed.
>>
>> (*) a.k.a. laziness ;)
>>
>> --
>> 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/CABNTSaHpOYQM2X3TW%3DHYGP7_CTA8jCaj4Euh0mcjnus1aOdt-g%40mail.gmail.com
>> <https://groups.google.com/d/msgid/racket-users/CABNTSaHpOYQM2X3TW%3DHYGP7_CTA8jCaj4Euh0mcjnus1aOdt-g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> ----
>

-- 
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/CABNTSaGB7iXj469Un70eqNqg8W0Pqc8muT8NDd5WY1pQv%2BJeXg%40mail.gmail.com.

Reply via email to