lambda code
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Apr 1 21:43:08 PDT 2015
On Tue, 31 Mar 2015 13:25:46 +0000, John Colvin wrote:
> Short answer: no. .codeof for functions is something I've wanted for
> ages, but no movement so far.
'cause `.codeof` is a can of worms. it is just a bad replace for AST
macros, and having it means that internal string representation should be
maintained intact for very long time.
that's if i got you right and you mean that `.codeof` should return
something like javascript's, `.toString` on functions: rebuild string
representation of function source code.
besides, it is impossible to write `.codeof` for functions without
source. ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20150402/4be32ff3/attachment.sig>
More information about the Digitalmars-d-learn
mailing list