I can't think of "something similar in functional Racket" (of course you
can write purely functional programs with racket/class, but I know what you
mean). I think it would be fairly easy to implement "something similar,"
but I want to clarify what you have in mind, because augmentable methods
Hi Paulo et al,
Thanks for the info! It sounds like Racket or Racket-on-Chez is a bit
of a risky bet for a RISC-V project with a quick turnaround, but I'll
keep my eyes peeled for the future.
Thanks again!
David
Den tor. 3. jan. 2019 kl. 04.29 skrev Paulo Matos :
>
> Hi,
>
> Thanks for CCing
Hi Stephen,
On 3 Jan 2019, at 1:07, Stephen De Gabrielle wrote:
I'm fooling around with #lang web-server/insta, and I can serve .html
files
by setting (static-files-path page-root), but I'd like to trigger my
servlet if there is a '?action=edit' parameter set.
e.g
Racket's OO system has the 'augment' family of functionality that allows
you to change how a function works. I'm wondering if there's a way to do
something similar in functional Racket. For example, when I was working in
Perl I used to be able to do something like this Racket pseudocode:
>
I don't know what all is currently available for Racket[1], but two
search keywords to slog through are "advice" and "aspect".
Aspects and other framework-y interfaces can be good for extensibility
of a system. (But maybe try to make loosely-coupled reusable modules
that don't need it, as
Cool, thanks. I'll look into generics more. I've skimmed past them before
this but never really dug in.
On Fri, Jan 4, 2019 at 1:46 PM Neil Van Dyke wrote:
> I don't know what all is currently available for Racket[1], but two
> search keywords to slog through are "advice" and "aspect".
>
>
6 matches
Mail list logo