Welcome! Please see the About page for a little more info on how this works.
Comment made by: dnolen
Can you reformat the patch w/ git so it has the proper attribution information? Thanks!
Comment made by: jasonjckn
New patch with attribution info. Sorry about super long turn around time, in the future I should be much faster.
Comment made by: martintrojer
This patch solved the exact same problem for me aswell.
Cheers...
I've yet to hear a good rationale for this patch. defrel has the same semantics as def and should only exist at the top level. If someone puts more though into what defining a rel dynamically should look like I will consider it.
I only implemented this so I could delete relation state. There's probably a better way to do this though.
Indeed, a make-rel function would be optimal, then you can def it (or store it somewhere else) at your leisure.