Re: cautious wrapper for letfn that does macroexpansion on fnspecs first

2016-08-01 Thread Andrew C
In case anyone's curious, It was a bad idea :) It compiled and seemed to work fine until it tried to return a result and instead evaluated (result). There was a way to fix it where my letfn' macro dealt with the name and body separately. But I ended up defining functions on their own and using

cautious wrapper for letfn that does macroexpansion on fnspecs first

2016-07-27 Thread Andrew C
letfn assumes fnspecs are all already properly shaped, like: (fn-name [args] body) But it is possible that a macroexpansion is needed to get them in the right shape before letfn does its work, especially if the user found all his fnspecs were of similar shape and used a macro to eliminate boile