[Issue 8755] Change the order of reduce arguments

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #15 from wihkman 2014-03-20 20:02:07 PDT --- Why is reduce (sorry, fold) allowing multiple function arguments in the first place? If you want to compose functions to avoid another O(n) iteration, then you should compose the reduce

[Issue 8755] Change the order of reduce arguments

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #14 from bearophile_h...@eml.cc 2014-03-20 18:28:41 PDT --- >Furthermore, it also improves usability by making the seeds passed by >parameter pack, instead of forcing the use of a tuple.< OK. (Despite in a modern language tuples s

[Issue 7009] countChars, removeChars

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7009 --- Comment #5 from Jonathan M Davis 2014-03-20 16:18:45 PDT --- > We can still introduce countChars and removeChars aliases. And later deprecate the others. That would still be renaming them. Maybe we could add new aliases, but we can't rem

[Issue 6741] implicit casting of pure-function delegate result to immutable breaks immutability.

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6741 --- Comment #2 from Steven Schveighoffer 2014-03-20 12:57:35 PDT --- It's a bug because when the object is cast implicitly to immutable, it does not affect the context pointer. In essence, the delegate captures the instance when it was mutabl

[Issue 8755] Change the order of reduce arguments

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8755 --- Comment #13 from monarchdo...@gmail.com 2014-03-20 12:32:49 PDT --- (In reply to comment #12) > (In reply to comment #10) > > How about "fold" instead, that's the classical functional programming name > > for > > that. Also there is foldl

[Issue 3882] Unused result of pure functions

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=3882 --- Comment #33 from github-bugzi...@puremagic.com 2014-03-20 12:06:10 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/a17bf889365ccd1d61937b7e45b

[Issue 12423] extern(Windows) interfaces with -m64 broken

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12423 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Com

[Issue 12426] New: Spurious "auto can only be used for template function parameters" for overloaded templated functions

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12426 Summary: Spurious "auto can only be used for template function parameters" for overloaded templated functions Product: D Version: D2 Platform: All OS/Version: All

[Issue 12425] allow default values for "auto ref"

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12425 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- C

[Issue 12425] New: allow default values for "auto ref"

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12425 Summary: allow default values for "auto ref" Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Componen

[Issue 9203] Clarify that template functions with auto ref params do not share static locals

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=9203 Vladimir Panteleev changed: What|Removed |Added Keywords||spec URL|

[Issue 8074] template-mixin example contradicts text

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=8074 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Com

[Issue 12387] Mark stdlib malloc and friends as weekly pure

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12387 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@yahoo.com --- Comme

[Issue 12387] Mark stdlib malloc and friends as weekly pure

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12387 yebblies changed: What|Removed |Added CC||yebbl...@gmail.com --- Comment #3 from ye

[Issue 6574] Erroneous recursive call in template instantiation

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6574 --- Comment #3 from Infiltrator 2014-03-20 05:54:44 PDT --- That's very odd. For me, the infloop only happens with my v2.062 gdc; my v2.065 dmd and dpaste's v2.065 both give the warning and output of "dispatch, Foo A". -- Configure issuema

[Issue 12424] New: Cannot do qualifier-overload with mixin template.

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12424 Summary: Cannot do qualifier-overload with mixin template. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 5665] DmdScript Bug, Program.compile is very slow

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5665 Dmitry Olshansky changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 12404] Zip.back is wrong

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12404 --- Comment #4 from monarchdo...@gmail.com 2014-03-20 04:20:02 PDT --- (In reply to comment #3) > (In reply to comment #2) > > > Yeah. I think the best thing to do at this point is to just let it be. > > Really? As Peter said, fixing it wou

[Issue 12423] New: extern(Windows) interfaces with -m64 broken

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12423 Summary: extern(Windows) interfaces with -m64 broken Product: D Version: D2 Platform: x86_64 OS/Version: Windows Status: NEW Severity: normal Priority: P2

[Issue 7009] countChars, removeChars

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7009 --- Comment #4 from bearophile_h...@eml.cc 2014-03-20 03:56:17 PDT --- (In reply to comment #3) > No. We're not doing that anymore. At this point, we're stuck with whatever > names we have. We've come too far along for breakage based on naming

[Issue 12422] New: Templated nested function is inferred as `pure` even if it calls impure functions

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12422 Summary: Templated nested function is inferred as `pure` even if it calls impure functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 12404] Zip.back is wrong

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12404 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- C

[Issue 12413] Infinite recursion of `Package::search`

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12413 Vladimir Panteleev changed: What|Removed |Added CC||thecybersha...@gmail.com --- Co

[Issue 12421] Allow simpler syntax for lambda template declarations

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12421 --- Comment #1 from Andrej Mitrovic 2014-03-20 03:24:24 PDT --- A slightly more fair comparison if we take into account that 'static' acts as 'auto': - void main() { import std.algorithm; import std.traits; { static

[Issue 12421] New: Allow simpler syntax for lambda template declarations

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12421 Summary: Allow simpler syntax for lambda template declarations Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 12420] New: [AA] Can't set associative array with array as key value using key type

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12420 Summary: [AA] Can't set associative array with array as key value using key type Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severi

[Issue 12419] New: assertion failure in std.utf

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12419 Summary: assertion failure in std.utf Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos

[Issue 12404] Zip.back is wrong

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12404 --- Comment #2 from monarchdo...@gmail.com 2014-03-20 01:51:39 PDT --- (In reply to comment #1) > Urgh, fixing this is going to be a breaking change, but not necessarily fix bugs. Yeah. I think the best thing to do at this point is to just le

[Issue 6496] Fix std.process.browse per comments in pull request #154

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6496 --- Comment #2 from Jonathan M Davis 2014-03-19 21:45:33 PDT --- > Jonathan, did you end up forgetting about this? :P Yes, though the bug was created so that we as a community would have a note to take care of this and thus remember to. Any

[Issue 5870] Debug code in SortedRange assumes it can always print the range

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5870 Infiltrator changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7018] thrown Error from different thread should lead to program abort

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7018 Infiltrator changed: What|Removed |Added CC||lt.infiltra...@gmail.com --- Comment #7

[Issue 7125] semi stable sort is not supported

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7125 Infiltrator changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6978] Mixin behavior order dependent

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6978 Infiltrator changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 6961] template canFind: cannot deduce template function from argument types !(__dgliteral7)(Result)

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6961 Infiltrator changed: What|Removed |Added CC||lt.infiltra...@gmail.com --- Comment #1

[Issue 2413] getche differs from getch unexpectedly

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=2413 Andrej Mitrovic changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 5870] Debug code in SortedRange assumes it can always print the range

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=5870 --- Comment #2 from github-bugzi...@puremagic.com 2014-03-19 21:52:12 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/ee2d46263bedd6b58663fa710690f533

[Issue 6574] Erroneous recursive call in template instantiation

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6574 --- Comment #2 from Andrej Mitrovic 2014-03-20 01:11:38 PDT --- (In reply to comment #1) > As of v2.065, the provided code compiles and runs without errors. Taking out > the 'Foo!();' line causes a compilation warning about a size change but

[Issue 7089] Inconsistent results when comparing structs with NaNs

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7089 Infiltrator changed: What|Removed |Added CC||lt.infiltra...@gmail.com --- Comment #3

[Issue 7009] countChars, removeChars

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7009 Infiltrator changed: What|Removed |Added CC||lt.infiltra...@gmail.com --- Comment #2

[Issue 6496] Fix std.process.browse per comments in pull request #154

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6496 --- Comment #3 from Infiltrator 2014-03-19 21:51:43 PDT --- Good point about this bug report. Since you know the situation better than I, could you please list here which changes actually need to be made? -- Configure issuemail: https://d.

[Issue 12418] New: Add module for C-strings support

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12418 Summary: Add module for C-strings support Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component:

[Issue 7006] std.math.pow (integral, integral) crashes on negative exponents

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7006 Infiltrator changed: What|Removed |Added CC||lt.infiltra...@gmail.com --- Comment #4

[Issue 6980] Disallow shadowing template parameters

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=6980 Infiltrator changed: What|Removed |Added CC||lt.infiltra...@gmail.com --- Comment #1

[Issue 12408] map does not like inout

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=12408 --- Comment #4 from monarchdo...@gmail.com 2014-03-20 02:02:14 PDT --- (In reply to comment #3) > I thought that the whole point of using inout was to avoid having to > copy-paste code between mutable, const, and immutable functions? Yes, tha

[Issue 7009] countChars, removeChars

2014-03-20 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7009 --- Comment #3 from Jonathan M Davis 2014-03-19 23:58:23 PDT --- > Seeing as how they do not appear to have been replaced yet, should we think about renaming them to camel case now? No. We're not doing that anymore. At this point, we're stuc