rfc: rdbms - new type system

Ulf Wiger (AL/EAB) ulf.wiger@REDACTED
Tue Feb 28 09:34:02 CET 2006


It's stolen from the test_server macros.
It puts the current line number in the 
process dictionary, so that when your test
case fails, the resulting web page can tell
you (roughly) which line of code was last 
executed.

/Ulf W

> -----Original Message-----
> From: owner-erlang-questions@REDACTED 
> [mailto:owner-erlang-questions@REDACTED] On Behalf Of Mats Cronqvist
> Sent: den 28 februari 2006 09:18
> To: erlang-questions@REDACTED
> Subject: Re: rfc: rdbms - new type system
> 
> 
> 
> Ulf Wiger (AL/EAB) wrote:
> 
>  > [...]
> >    
> >     ?line trans(fun() ->
> > 			mnesia:write({rdbms_w_filter, 17, 1})
> > 		end),
>  > [...]
>    exciting, non-syntactic, macro there. what does it do 
> (except break syntax_tools?).
> 
>    mats
> 



More information about the erlang-questions mailing list