I've added two new packages to the package catalog. The first, `compose-app`, provides a simple #%app macro for composing single-argument functions together:
> (require compose-app) > (map (add1 .. string->number) (list "1" "2" "3")) (list 2 3 4) Optionally, you can use the package with `fancy-app` to get both composition syntax and underscores-as-lambdas syntax: > (require compose-app/fancy-app) > (map (/ _ 2 .. string->number) (list "10" "20" "30")) (list 5 10 15) The second package, `retry`, provides "retryers" for repeating operations in the event of failure. To use, first construct retryers for each action you wish to do (e.g. sleep X seconds, log a message, etc.), then combine the retryers together with `retryer-compose`, then use `call/retry` or `with-retry` to evaluate something until it succeeds. For more information, see: - The `compose-app` docs: http://docs.racket-lang.org/compose-app/index.html - The `retry` docs, including The Retry Guide and The Retry Reference: http://docs.racket-lang.org/retry/index.html - The `compose-app` Github repo: https://github.com/jackfirth/compose-app - The `retry` Github repo: https://github.com/jackfirth/racket-retry - The `fancy-app` Github repo: https://github.com/samth/fancy-app/tree/master Patches, issues, comments, musings, and lollipops are all welcome. Special thanks to Sam for fancy-app! -- 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. For more options, visit https://groups.google.com/d/optout.