Pretty-printing D arrays with Mir

tastyminerals tastyminerals at gmail.com
Tue Jun 2 13:46:20 UTC 2020


On Sunday, 31 May 2020 at 22:40:09 UTC, tastyminerals wrote:
> I often print arrays to see how they look and their contents.
> NumPy has a nice way of pretty-printing the arrays, and I was 
> lacking this in D.
> For the sake of practice, I wrote a small package. It uses 
> mir.ndslice but works for both standard D arrays and Mir Slices.
>
> [...]

I added the package to code.dlang.org (thanks to John-Colvin 
reminding me).
The repo url is updated: 
https://github.com/tastyminerals/pretty-d-array


More information about the Digitalmars-d-announce mailing list