We added exactly this feature to Arc* and it has proven quite useful. Long writeup in this thread:
https://news.ycombinator.com/item?id=11240681 (March 2016)
* the Lisp that HN is written in