moodymudskipper / tags

A collection of tags built using the package tag
GNU General Public License v3.0
8 stars 0 forks source link

tag(s) with functionalities from `body<-`, `formals<-` and `trace` #10

Closed moodymudskipper closed 5 years ago

moodymudskipper commented 5 years ago

trace is not a proper function operator but it has interesting features, we should not use trace though, but it could be named tracing and use body<- borrowing the arguments from trace.

to modify formals we can either have a different function integrate it in, then we need to decide if the name tracing is general enough :

We can probably go on with tracing, with parameters :

for this last example we'd need to see how we do it, maybe we need a helper function tu substitute stuff while keeping a simple syntax.

moodymudskipper commented 5 years ago

Better to be able to add or remove formals like in tag or tag_adverb

moodymudskipper commented 5 years ago

tracing is done, formals functionalities will be handled by the modifying_args family