phobos
phobos copied to clipboard
The standard library of the D programming language
## bearophile_hugs reported this on 2013-11-17T19:03:23Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=11536 ### Description ````markdown In Python str.split method has an optional argument (named maxsplit), the number of times to split: http://docs.python.org/2/library/stdtypes.html#str.split...
## snarwin+bugzilla (@pbackus) reported this on 2021-03-10T00:54:57Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=21695 ### Description ````markdown std.functional already contains the two-way comparison functions lessThan, greaterThan, and equalTo. Since D supports three-way comparison...
## bearophile_hugs reported this on 2012-02-12T11:59:28Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=7488 ### CC List * andrei (@andralex) * lovelydear ### Description ````markdown An optimization for std.bitmanip.BitArray: when BitArray.length
## kevin reported this on 2016-10-08T07:29:26Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=16604 ### CC List * andrei (@andralex) * witold.baryluk+d (@baryluk) ### Description ````markdown If an exception is thrown by getopt, the...
## bearophile_hugs reported this on 2013-11-29T12:10:15Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=11644 ### CC List * alex.jercaianu * code (@MartinNowak) ### Description ````markdown In DMD 2.065alpha this is the function std.functional.memoize: ReturnType!fun...
## zshazz reported this on 2013-11-24T16:48:21Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=11597 ### CC List * bearophile_hugs * greensunny12 * joseph.wakeling ### Description ````markdown Currently, dice is a bit slower than it...
## lance (@bachmeil) reported this on 2021-07-25T15:37:27Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=22142 ### Description ````markdown std.net.curl doesn't provide information when something fails. Consider the following (not terribly obvious) typo: client.addRequestHeader("Content-Type", "Application/json");...
## pro.mathias.lang (@Geod24) reported this on 2021-04-18T18:22:47Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=21843 ### CC List * bugzilla (@WalterBright) ### Description ````markdown ``` import std; void main () { ubyte[] data =...
## bearophile_hugs reported this on 2012-08-21T04:41:41Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=8571 ### CC List * monarchdodra * razvan.nitu1305 ### Description ````markdown This is part of Zip.empty() of Phobos: @property bool empty()...
## bearophile_hugs reported this on 2012-04-10T15:35:23Z ### Transfered from https://issues.dlang.org/show_bug.cgi?id=7885 ### CC List * andrei (@andralex) * canidae ### Description ````markdown I suggest to add to Phobos rational numbers, based...