[racket] Override primitive operations

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat May 21 10:09:43 EDT 2011

Not map, no. But you can do this with printing and the function call
operation using struct properties (ie you create a new struct and then
attach a property to it that shows how the operations should treat
instances of your new struct).


2011/5/21 José Lopes <jose.lopes at ist.utl.pt>:
> Hello,
> Is it possible to override primitive operations, such as map, to work with
> user-defined types? If affirmative, is it also possible to reference the
> default operation after override?
> Regards,
> José
> --
> José António Branquinho de Oliveira Lopes
> 58612 - MEIC-A
> jose.lopes at ist.utl.pt
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

Posted on the users mailing list.