Re: Voting for std.experimental.checkedint

2017-02-26 Thread Walter Bright via Digitalmars-d
On 2/26/2017 1:15 PM, Andrei Alexandrescu wrote: Indeed, the routines in core.checkedint are everything needed (in addition to some inline code for comparisons) if the purpose is to check operations individually. The purpose of core.checkedint is to provide the smallest possible building

Re: Voting for std.experimental.checkedint

2017-02-26 Thread Andrei Alexandrescu via Digitalmars-d
On 2/26/17 4:53 AM, Seb wrote: On Sunday, 26 February 2017 at 09:41:46 UTC, rumbu wrote: On Saturday, 25 February 2017 at 15:21:10 UTC, Andrei Alexandrescu wrote: On 02/25/2017 10:17 AM, rumbu wrote: A lot of bloat code for something extremely basic. If you can do it with less code, I'm all

Re: Voting for std.experimental.checkedint

2017-02-26 Thread Seb via Digitalmars-d
On Sunday, 26 February 2017 at 10:34:07 UTC, Patrick Schluter wrote: On Sunday, 26 February 2017 at 09:53:42 UTC, Seb wrote: On Sunday, 26 February 2017 at 09:41:46 UTC, rumbu wrote: [...] If you want a module with a lot less features, the low-level core.checkedint might be interesting for

Re: Voting for std.experimental.checkedint

2017-02-26 Thread Patrick Schluter via Digitalmars-d
On Sunday, 26 February 2017 at 09:53:42 UTC, Seb wrote: On Sunday, 26 February 2017 at 09:41:46 UTC, rumbu wrote: [...] If you want a module with a lot less features, the low-level core.checkedint might be interesting for you: http://dlang.org/phobos/core_checkedint.html [...] It is

Re: Voting for std.experimental.checkedint

2017-02-26 Thread Seb via Digitalmars-d
On Sunday, 26 February 2017 at 09:41:46 UTC, rumbu wrote: On Saturday, 25 February 2017 at 15:21:10 UTC, Andrei Alexandrescu wrote: On 02/25/2017 10:17 AM, rumbu wrote: A lot of bloat code for something extremely basic. If you can do it with less code, I'm all ears. Thanks! -- Andrei This

Re: Voting for std.experimental.checkedint

2017-02-26 Thread rumbu via Digitalmars-d
On Saturday, 25 February 2017 at 15:21:10 UTC, Andrei Alexandrescu wrote: On 02/25/2017 10:17 AM, rumbu wrote: A lot of bloat code for something extremely basic. If you can do it with less code, I'm all ears. Thanks! -- Andrei This was not about coding skills, was about usability. The

Re: Voting for std.experimental.checkedint

2017-02-25 Thread Andrei Alexandrescu via Digitalmars-d
On 2/25/17 11:00 AM, Vladimir Panteleev wrote: On Saturday, 25 February 2017 at 15:21:10 UTC, Andrei Alexandrescu wrote: On 02/25/2017 10:17 AM, rumbu wrote: A lot of bloat code for something extremely basic. If you can do it with less code, I'm all ears. Thanks! -- Andrei Perhaps a

Re: Voting for std.experimental.checkedint

2017-02-25 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 25 February 2017 at 15:21:10 UTC, Andrei Alexandrescu wrote: On 02/25/2017 10:17 AM, rumbu wrote: A lot of bloat code for something extremely basic. If you can do it with less code, I'm all ears. Thanks! -- Andrei Perhaps a simpler example for the most basic use case could be

Re: Voting for std.experimental.checkedint

2017-02-25 Thread Andrei Alexandrescu via Digitalmars-d
On 02/25/2017 10:17 AM, rumbu wrote: A lot of bloat code for something extremely basic. If you can do it with less code, I'm all ears. Thanks! -- Andrei

Re: Voting for std.experimental.checkedint

2017-02-25 Thread rumbu via Digitalmars-d
On Friday, 24 February 2017 at 20:37:28 UTC, Dmitry Olshansky wrote: On 2/24/17 4:20 PM, Robert burner Schadek wrote: checkedint got voted in. With 2 Yes and 2 yes with remarks. Remarkably unpopular vote we have here. If I read it right it implies that nobody cares for checked integers. A

Re: Voting for std.experimental.checkedint

2017-02-24 Thread Ola Fosheim Grostad via Digitalmars-d
On Friday, 24 February 2017 at 20:37:28 UTC, Dmitry Olshansky wrote: On 2/24/17 4:20 PM, Robert burner Schadek wrote: checkedint got voted in. With 2 Yes and 2 yes with remarks. Remarkably unpopular vote we have here. If I read it right it implies that nobody cares for checked integers. It

Re: Voting for std.experimental.checkedint

2017-02-24 Thread Jack Stouffer via Digitalmars-d
On Friday, 24 February 2017 at 20:37:28 UTC, Dmitry Olshansky wrote: If I read it right it implies that nobody cares for checked integers. I guess you can say I don't personally care about them because I have no personal use case for them. But, as I said in my remarks, I understand why we

Re: Voting for std.experimental.checkedint

2017-02-24 Thread Dmitry Olshansky via Digitalmars-d
On 2/24/17 4:20 PM, Robert burner Schadek wrote: checkedint got voted in. With 2 Yes and 2 yes with remarks. Remarkably unpopular vote we have here. If I read it right it implies that nobody cares for checked integers. I will set the autotester to merge. Thank you @andralex for the hard

Re: Voting for std.experimental.checkedint

2017-02-24 Thread Robert burner Schadek via Digitalmars-d
checkedint got voted in. With 2 Yes and 2 yes with remarks. I will set the autotester to merge. Thank you @andralex for the hard work.

Re: Voting for std.experimental.checkedint

2017-01-17 Thread Meta via Digitalmars-d
On Friday, 13 January 2017 at 12:39:38 UTC, Robert burner Schadek wrote: This is the voting thread to decide if the proposed addition to Phobos, std.experimental.checkedint, should be accepted. To vote, please respond to this post. You have three options: * Yes * Yes with a single condition *

Re: Voting for std.experimental.checkedint

2017-01-17 Thread Guillaume Piolat via Digitalmars-d
On Tuesday, 17 January 2017 at 11:53:16 UTC, Atila Neves wrote: Same here. Atila No interest either. Have zilch problems with integers.

Re: Voting for std.experimental.checkedint

2017-01-17 Thread deadalnix via Digitalmars-d
Alright some feedback. It is rather disappointing that Warn and Abort only write to stderr. Being able to specify the sink would be great. i may want to log the issue or something. There is option to throw on error. Checked!(Checked!(int, ProperCompare), WithNaN) is rather inelegent. Why

Re: Voting for std.experimental.checkedint

2017-01-17 Thread Chris Wright via Digitalmars-d
On Fri, 13 Jan 2017 12:39:38 +, Robert burner Schadek wrote: > This is the voting thread to decide if the proposed addition to Phobos, > std.experimental.checkedint, should be accepted. > > To vote, please respond to this post. You have three options: > > * Yes * Yes with a single condition

Re: Voting for std.experimental.checkedint

2017-01-17 Thread Atila Neves via Digitalmars-d
On Monday, 16 January 2017 at 19:51:38 UTC, Jonathan M Davis wrote: On Saturday, January 14, 2017 20:54:11 Jack Stouffer via Digitalmars-d wrote: On Friday, 13 January 2017 at 12:39:38 UTC, Robert burner Schadek wrote: > ... Overall, the code looks good and the design looks solid. However,

Re: Voting for std.experimental.checkedint

2017-01-16 Thread Bastiaan Veelo via Digitalmars-d
On Friday, 13 January 2017 at 13:25:10 UTC, Robert burner Schadek wrote: On Friday, 13 January 2017 at 12:49:53 UTC, deadalnix wrote: Is the doc available somewhere in a readable form ? CyberShadow/DAutoTest build the docs, you can find the link at the end of the PR under checks Readers

Re: Voting for std.experimental.checkedint

2017-01-16 Thread Thorsten Sommer via Digitalmars-d
Yes

Re: Voting for std.experimental.checkedint

2017-01-16 Thread Jonathan M Davis via Digitalmars-d
On Saturday, January 14, 2017 20:54:11 Jack Stouffer via Digitalmars-d wrote: > On Friday, 13 January 2017 at 12:39:38 UTC, Robert burner Schadek > > wrote: > > ... > > Overall, the code looks good and the design looks solid. However, > I have no personal use for such a module, so I can't really

Re: Voting for std.experimental.checkedint

2017-01-14 Thread Jack Stouffer via Digitalmars-d
On Friday, 13 January 2017 at 12:39:38 UTC, Robert burner Schadek wrote: ... Overall, the code looks good and the design looks solid. However, I have no personal use for such a module, so I can't really comment on it's design with any authority. Abstain.

Re: Voting for std.experimental.checkedint

2017-01-13 Thread Robert burner Schadek via Digitalmars-d
On Friday, 13 January 2017 at 12:49:53 UTC, deadalnix wrote: Is the doc available somewhere in a readable form ? CyberShadow/DAutoTest build the docs, you can find the link at the end of the PR under checks

Re: Voting for std.experimental.checkedint

2017-01-13 Thread deadalnix via Digitalmars-d
Is the doc available somewhere in a readable form ?

Voting for std.experimental.checkedint

2017-01-13 Thread Robert burner Schadek via Digitalmars-d-announce
http://forum.dlang.org/post/wgsguzbgrcejptuxf...@forum.dlang.org

Voting for std.experimental.checkedint

2017-01-13 Thread Robert burner Schadek via Digitalmars-d
This is the voting thread to decide if the proposed addition to Phobos, std.experimental.checkedint, should be accepted. To vote, please respond to this post. You have three options: * Yes * Yes with a single condition * No If you vote "yes" you can still mention something you'd like