Re: sumtype 0.5.0

2018-08-22 Thread Paul Backus via Digitalmars-d-announce
On Wednesday, 8 August 2018 at 20:54:13 UTC, Paul Backus wrote: SumType is a generic sum type for modern D. It is meant as an alternative to `std.variant.Algebraic`. New point release, 0.5.3, with the following updates: - SumType now uses the smallest possible integer type for its tag (e.g., `

Re: Optional and NotNull version 0.5.0 - swift optional like and scala option like

2018-08-22 Thread Paul Backus via Digitalmars-d-announce
On Wednesday, 22 August 2018 at 22:11:05 UTC, aliak wrote: On Monday, 20 August 2018 at 19:52:53 UTC, jmh530 wrote: It's interesting that both sumtype and optional have match templates. Maybe scope to combine these projects? That'd be cool. Optional uses .match on a "some" or "none" range,

Re: Optional and NotNull version 0.5.0 - swift optional like and scala option like

2018-08-22 Thread aliak via Digitalmars-d-announce
On Monday, 20 August 2018 at 19:52:53 UTC, jmh530 wrote: On Monday, 20 August 2018 at 19:06:36 UTC, Seb wrote: [snip] That looks pretty cool! I added optional to run.dlang.io (e.g. https://run.dlang.io/is/912kVG) and the project tester (https://github.com/dlang/ci/pull/288). It's interesting

Re: RFC: initial release of dtoh

2018-08-22 Thread Jacob Carlborg via Digitalmars-d-announce
On 2018-08-22 13:01, Mihails wrote: https://gitlab.com/mihails.strasuns/dtoh Tool to grab all `extern(C)` declarations in a D module and generate C header file based on it. Partially addresses https://issues.dlang.org/show_bug.cgi?id=9285 but is intended to be much more simple (no C++, no hum

Re: RFC: initial release of dtoh

2018-08-22 Thread Manu via Digitalmars-d-announce
On Wed, 22 Aug 2018 at 04:05, Mihails via Digitalmars-d-announce wrote: > > https://gitlab.com/mihails.strasuns/dtoh > > Tool to grab all `extern(C)` declarations in a D module and > generate C header file based on it. Partially addresses > https://issues.dlang.org/show_bug.cgi?id=9285 but is inte

Re: RFC: initial release of dtoh

2018-08-22 Thread Mihails via Digitalmars-d-announce
On Wednesday, 22 August 2018 at 13:59:35 UTC, Sönke Ludwig wrote: Can't we at least use something like "0.0.1-dmd-2.080.0" that is sure to not interfere with any official scheme that might be decided on later? Sounds like a good workaround, though it does have to actually be present as a tag

Re: D support for ChromeOS

2018-08-22 Thread Martin Tschierschke via Digitalmars-d-announce
On Wednesday, 22 August 2018 at 10:28:32 UTC, Joakim wrote: It's up: $ apt search ldc Sorting... Done Full Text Search... Done ipcalc/stable 0.41 aarch64 Calculates IP broadcast, network, Cisco wildcard mask, and host ranges ldc/stable 1.11.0 aarch64 D programming language compiler, bui

Re: RFC: initial release of dtoh

2018-08-22 Thread Sönke Ludwig via Digitalmars-d-announce
Am 22.08.2018 um 15:59 schrieb Sönke Ludwig: Am 22.08.2018 um 14:32 schrieb Mihails: On Wednesday, 22 August 2018 at 11:51:59 UTC, Seb wrote: Yeah, the dub registry is "smart" enough to reject all tags from the dmd repository as they all don't conform with SemVer. There has been a long discussi

Re: RFC: initial release of dtoh

2018-08-22 Thread Sönke Ludwig via Digitalmars-d-announce
Am 22.08.2018 um 14:32 schrieb Mihails: On Wednesday, 22 August 2018 at 11:51:59 UTC, Seb wrote: Yeah, the dub registry is "smart" enough to reject all tags from the dmd repository as they all don't conform with SemVer. There has been a long discussion on this (https://forum.dlang.org/post/drce

Re: RFC: initial release of dtoh

2018-08-22 Thread Mihails via Digitalmars-d-announce
On Wednesday, 22 August 2018 at 11:51:59 UTC, Seb wrote: Yeah, the dub registry is "smart" enough to reject all tags from the dmd repository as they all don't conform with SemVer. There has been a long discussion on this (https://forum.dlang.org/post/drcekmxvfszpwifbu...@forum.dlang.org), but sa

Re: RFC: initial release of dtoh

2018-08-22 Thread Seb via Digitalmars-d-announce
On Wednesday, 22 August 2018 at 11:01:02 UTC, Mihails wrote: https://gitlab.com/mihails.strasuns/dtoh Cool!! Sadly can't put it on code.dlang.org right now because there are no tagged versions of http://code.dlang.org/packages/dmd to depend on, thus have to resort to submodule. Yeah, the d

RFC: initial release of dtoh

2018-08-22 Thread Mihails via Digitalmars-d-announce
https://gitlab.com/mihails.strasuns/dtoh Tool to grab all `extern(C)` declarations in a D module and generate C header file based on it. Partially addresses https://issues.dlang.org/show_bug.cgi?id=9285 but is intended to be much more simple (no C++, no human-readable emphasis). Main differe

Re: D support for ChromeOS

2018-08-22 Thread Joakim via Digitalmars-d-announce
On Wednesday, 22 August 2018 at 10:06:39 UTC, Joakim wrote: On Wednesday, 22 August 2018 at 07:14:22 UTC, Martin Tschierschke wrote: On Wednesday, 22 August 2018 at 01:56:45 UTC, Joakim wrote: unning. [...] Oh, I forgot, if you're running Android apps in your Chromebook, you can install the T

Re: D support for ChromeOS

2018-08-22 Thread Joakim via Digitalmars-d-announce
On Wednesday, 22 August 2018 at 07:14:22 UTC, Martin Tschierschke wrote: On Wednesday, 22 August 2018 at 01:56:45 UTC, Joakim wrote: unning. [...] Oh, I forgot, if you're running Android apps in your Chromebook, you can install the Termux app and use LDC through there: https://play.google.c

Re: D support for ChromeOS

2018-08-22 Thread Martin Tschierschke via Digitalmars-d-announce
On Wednesday, 22 August 2018 at 01:56:45 UTC, Joakim wrote: unning. [...] Oh, I forgot, if you're running Android apps in your Chromebook, you can install the Termux app and use LDC through there: https://play.google.com/store/apps/details?id=com.termux&hl=en The first AArch64 build of LDC