www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - string mixin reference

reply O.F. <no spam.plz> writes:
Have string mixins been removed from the language reference? I can't seem to
find any mentioning of it at all, other than on the newsgroups and for some of
the phobos 2 modules.

In the latter case, it's pretty confusing for newcomers, as the library
documentation shows how something works by using a construct that haven't been
explained anywhere. It might also cause confusion over things like sort!("a <
b"), which can appear magical if you don't know about string mixins.
Jul 06 2009
parent reply Jarrett Billingsley <jarrett.billingsley gmail.com> writes:
On Mon, Jul 6, 2009 at 12:44 PM, O.F.<no spam.plz> wrote:
 Have string mixins been removed from the language reference? I can't seem to
find any mentioning of it at all, other than on the newsgroups and for some of
the phobos 2 modules.

No. http://www.digitalmars.com/d/2.0/statement.html#MixinStatement http://www.digitalmars.com/d/2.0/expression.html#MixinExpression http://www.digitalmars.com/d/2.0/module.html#MixinDeclaration
Jul 06 2009
parent reply O.F. <no spam.plz> writes:
Jarrett Billingsley Wrote:

 On Mon, Jul 6, 2009 at 12:44 PM, O.F.<no spam.plz> wrote:
 Have string mixins been removed from the language reference? I can't seem to
find any mentioning of it at all, other than on the newsgroups and for some of
the phobos 2 modules.

No. http://www.digitalmars.com/d/2.0/statement.html#MixinStatement http://www.digitalmars.com/d/2.0/expression.html#MixinExpression http://www.digitalmars.com/d/2.0/module.html#MixinDeclaration

Great, thanks! A bit of a shame that none of them can be find by seaching for string mixin, though.
Jul 06 2009
next sibling parent reply Jesse Phillips <jessekphillips+d gmail.com> writes:
O.F. Wrote:

 Great, thanks!
 
 A bit of a shame that none of them can be find by seaching for string mixin,
though.

I find that search ends up being overshadowed by the NG posts, wish it could be narrowed to just the specs and library.
Jul 06 2009
next sibling parent Ary Borenszweig <ary esperanto.org.ar> writes:
Jesse Phillips escribió:
 O.F. Wrote:
 
 Great, thanks!

 A bit of a shame that none of them can be find by seaching for string mixin,
though.

I find that search ends up being overshadowed by the NG posts, wish it could be narrowed to just the specs and library.

But even then, if you search "mixinstring" or "mixin string" or "string mixin" those links don't show up.
Jul 06 2009
prev sibling parent reply "Edward Brekelbaum" <nedbrek yahoo.com> writes:
"Jesse Phillips" <jessekphillips+d gmail.com> wrote in message 
news:h2u5lm$qao$1 digitalmars.com...
 O.F. Wrote:

 Great, thanks!

 A bit of a shame that none of them can be find by seaching for string 
 mixin, though.

I find that search ends up being overshadowed by the NG posts, wish it could be narrowed to just the specs and library.

http://www.google.com/search?q=site:digitalmars.com/d/2.0%20string%20mixin I don't get results for statement, expression, or module. But it does get the mixin page. Ned
Jul 06 2009
parent BCS <none anon.com> writes:
Hello Edward,

 "Jesse Phillips" <jessekphillips+d gmail.com> wrote in message
 news:h2u5lm$qao$1 digitalmars.com...
 
 http://www.google.com/search?q=site:digitalmars.com/d/2.0%20string%20m
 ixin
 
 I don't get results for statement, expression, or module.  But it does
 get the mixin page.
 

maybe that page should have the string mixin links in a "see also" section at the top (kinda like wikipidia).
Jul 06 2009
prev sibling parent Tim Matthews <tim.matthews7 gmail.com> writes:
O.F. wrote:
 Jarrett Billingsley Wrote:
 
 On Mon, Jul 6, 2009 at 12:44 PM, O.F.<no spam.plz> wrote:
 Have string mixins been removed from the language reference? I can't seem to
find any mentioning of it at all, other than on the newsgroups and for some of
the phobos 2 modules.

http://www.digitalmars.com/d/2.0/statement.html#MixinStatement http://www.digitalmars.com/d/2.0/expression.html#MixinExpression http://www.digitalmars.com/d/2.0/module.html#MixinDeclaration

Great, thanks! A bit of a shame that none of them can be find by seaching for string mixin, though.

The ng archives appear on the same site but you should be able to find what you are looking for by adding either of these to a google query: site:http://digitalmars.com/d/2.0 site:http://digitalmars.com/d/1.0
Jul 06 2009