On 03/24/2017 02:31 PM, Duncan McGreggor wrote:
> You can use (MODULE) -- which I use all the time. I believe that (FILE)
> as also been added. Note that LFE doesn't track line numbers in
> functions -- only the line at which the function starts.
Got it - (MODULE) works, (FILE) does not. Apparently, I was trying
different syntaxes around ?FILE and didn't think to do the same for
MODULE - my bad.
Here's what I have (latest pull from LFE develop branch):
Erlang/OTP 19 [erts-8.3] [source-d5c06c6] [64-bit] [smp:4:4]
[async-threads:10] [hipe] [kernel-poll:false]
LFE v1.3-dev
And yep, I completely understand about line numbers - they don't make
any sense in the machine world anyway. It would be nice to have (FILE)
though.
Thank you!