Documentation suggestion

2010-06-15 Thread Larry Luther
For those writing documentation, I would recommend: http://docs.eiffel.com/book/method/et-dynamic-structure-execution-model If I had had something like that for D it would have saved me a lot of guessing and grief. Larry

Re: Yet more OPTLINK woes

2010-06-15 Thread torhu
On 15.06.2010 01:34, torhu wrote: On 13.05.2010 21:07, torhu wrote: On 13.05.2010 10:39, Daniel Keep wrote: Attached both regular and decaffeinated^Hgutted versions. Most likely DMD turns VisitorCtfe.d into an invalid object file. But since you don't need to link with objects that contain

Re: Documentation suggestion

2010-06-15 Thread bearophile
Larry Luther: For those writing documentation, I would recommend: http://docs.eiffel.com/book/method/et-dynamic-structure-execution-model If I had had something like that for D it would have saved me a lot of guessing and grief. You are of course right. But someone has to write those

help with bind

2010-06-15 Thread jspencer
For some reason, I can't get this simple bind example to compile w/ dmd v2.046. Can anyone spot what I'm missing? --- import std.bind; import std.stdio; void g (int a, int b) { int c = a + b; } void main() { auto g1 = bind(g, 3, 5); writeln(typeid(typeof(g1))); } --- gives me ---

Re: Documentation suggestion

2010-06-15 Thread strtr
== Quote from bearophile (bearophileh...@lycos.com)'s article Larry Luther: For those writing documentation, I would recommend: http://docs.eiffel.com/book/method/et-dynamic-structure-execution-model If I had had something like that for D it would have saved me a lot of guessing and