On Saturday, 30 December 2023 at 01:30:22 UTC, Steven
Schveighoffer wrote:
On Friday, 29 December 2023 at 08:09:58 UTC, Zz wrote:
But yeah, I could ingest all the functionality from std.json
there. Or maybe even just use `JSONValue` from std.json. Could
you make an issue?
-Steve
Hi Steve,
Hi,
Here are some samples from the std.json documentation.
Any idea on how to do something similar using jsoniopipe?
Directly copied from https://dlang.org/phobos/std_json.html
import std.conv : to;
// parse a file or string of json into a usable structure
string s = `{ "language": "D",
Hi,
Currently using std.csv and would like to do the following using
mir.csv.
auto data = std.csv.csvReader!Layout(input).array;
Are there any examples out there on using mir.csv?
Regards,
Zz
On Thursday, 31 March 2022 at 16:08:19 UTC, mw wrote:
On Thursday, 31 March 2022 at 06:35:15 UTC, ZZ wrote:
Hi,
Is there an easy way to pretty-print a struct which also
includes arrays?
pretty_array does a very good job for arrays.
If you want the field variable names in the output, you
Hi,
Is there an easy way to pretty-print a struct which also includes
arrays?
pretty_array does a very good job for arrays.
ZZ
On Monday, 18 December 2017 at 08:49:51 UTC, Binghoo Dang wrote:
On Monday, 18 December 2017 at 07:55:25 UTC, Andrey wrote:
Hello!
I have a question about creating native GUI applications for
Windows 7 or/and Windows 10.
I know that exist DWT, DlangUI and other... But I'm
interesting in
On Saturday, 3 June 2017 at 05:21:13 UTC, 9il wrote:
On Friday, 2 June 2017 at 16:08:20 UTC, Zz wrote:
Hi,
Just tried migrating from std.experimental.ndslice to
mir-algorithm.
Is there a guide on how migrate old code?
I used the following imports before and using then with
ndslice.
Hi,
Just tried migrating from std.experimental.ndslice to
mir-algorithm.
Is there a guide on how migrate old code?
I used the following imports before and using then with ndslice.
import std.experimental.ndslice;
import std.algorithm : each, max, sort;
import std.range : iota, repeat;
On Thursday, 18 February 2016 at 02:24:20 UTC, ZombineDev wrote:
On Thursday, 18 February 2016 at 00:25:09 UTC, Zz wrote:
Hi,
I'm trying to generate the following sequences with ndslice.
0 0 0
1 1 1
1 1 1
0 0 0
0 1 2
0 1 2
2 1 0
2 1 0
It's okay with loops but was checking to see if it's
Hi,
I'm trying to generate the following sequences with ndslice.
0 0 0
1 1 1
1 1 1
0 0 0
0 1 2
0 1 2
2 1 0
2 1 0
It's okay with loops but was checking to see if it's possible
with ndslice.
Zz
Hi,
Just playing with ndslice and I couldn't figure how to get the
following transformations.
given.
auto slicea = sliced(iota(6), 2, 3, 1);
foreach (item; slicea)
{
writeln(item);
}
which gives.
[[0][1][2]]
[[3][4][5]]
what transformation should i do to get the following from slicea.
On Wednesday, 30 December 2015 at 20:43:21 UTC, Ilya Yaroshenko
wrote:
On Wednesday, 30 December 2015 at 18:53:15 UTC, Zz wrote:
Hi,
Just playing with ndslice and I couldn't figure how to get the
following transformations.
given.
auto slicea = sliced(iota(6), 2, 3, 1);
foreach (item;
12 matches
Mail list logo