On Monday, 19 August 2024 at 13:05:55 UTC, ryuukk_ wrote:
What's your OS?
Debugging works very nice with vscode:
```json
{
"name": "game: client",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/bin/game",
I give up on Visual Studio VisualD plugin as it's had the same
issues for over five years, and currently my program runs from
the command line, but VisualD complains with a 528 nonsensical
errors.
So I investigated using VScode instead (I do need a debugger),
and I get this:
```
Couldn't fi
On Monday, 19 August 2024 at 09:42:44 UTC, Daniel Donnelly, Jr.
wrote:
type_theory.d:
```
module type_theory;
import std.conv;
import prod;
[...]
I had to put `while (k > 1)` instead of `while (k > 0)` and it
works. I still though can't get it to work with the obvious
recursive formula of `
type_theory.d:
```
module type_theory;
import std.conv;
import prod;
class Type
{
public:
Prod opBinary(string op="*")(Type r)
{
alias l = this;
return new Prod(l, r);
}
Type opBinary(string op="^")(int k)
in {
assert (k > 0);
}
do {
if (k == 1)
I see now.
https://github.com/tim-dlang/dqt
has examples of where these libs are found within Qt itself.
```
Build started at 7:16 PM...
-- Build started: Project: d--, Configuration: debug x64
--
Building
C:\Users\fruit\OneDrive\Desktop\Code\StateMachine\D--\d--.exe...
LINK : fatal error LNK1181: cannot open input file
'Qt5Widgets.lib'
Building
C:\Users\fruit\OneDrive\Desktop\Code\StateM
ERRORS:
--
\2023-11-05 22:21:07.370 [warning] Via
'product.json#extensionEnabledApiProposals' extension
'ms-dotnettools.dotnet-interactive-vscode' wants API proposal
'languageConfigurationAutoClosingPairs' but that proposal DOES
NOT EXIST. Likely, the proposal has been finalized (che
Right now, fresh install of VS and Visual D, all up-to-date.
Can't display ∈, so how can we fix this? There is no project
setting for Unicode chars.
Thanks!
EnjoysMath
```
dstring s = "";
for (dchar i='ₐ'; i < 'ₜ'; i++)
s ~= i;
writeln(s);
```
Doesn't work. The result I get is shit:
ₐₑₒₓₔₕₖₗₘₙₚₛ
On Thursday, 17 November 2022 at 05:34:49 UTC, zjh wrote:
On Thursday, 17 November 2022 at 04:25:13 UTC, Daniel Donnelly,
Jr. wrote:
...
`crtp`, will it work?
Can't use CRTP, because once you choose a derived class to pass
into the template system, how do you pass in subclasses of that
cla
On Thursday, 17 November 2022 at 05:21:05 UTC, MorteFeuille123
wrote:
On Thursday, 17 November 2022 at 04:25:13 UTC, Daniel Donnelly,
Jr. wrote:
[...]
You can use TypeInfoClass:
[...]
I don't get it - you never made use of b1 or b2...
```
PosetRelation transitivity(PosetRelation R, PosetRelation S)
{
// These if conditions are typically ordered from easiest to
// most involved-to-check.
if (R.op == S.op &&
is(typeof(R) == typeof(S)) &&
R.right == S.left)
{
return new typeof(R)(
R.left, S
I have SubclassOf derived from PosetRelation. For any poset
relation, the transitivity law applies, however, I'd like to
return the correct type:
```
PosetRelation transitivity(PosetRelation R, PosetRelation S)
{
if (R.op == S.op)
{
if (R.right is S.left)
On Saturday, 22 October 2022 at 13:29:00 UTC, Salih Dincer wrote:
On Saturday, 22 October 2022 at 09:49:28 UTC, Salih Dincer
wrote:
On Saturday, 22 October 2022 at 07:40:39 UTC, MGW wrote:
is dmd a virus?
https://www.virustotal.com report:
Cybereason --> Malicious.779f29
VBA32 --> BScope.Troj
On Saturday, 22 October 2022 at 22:01:09 UTC, Enjoys Math wrote:
On Saturday, 22 October 2022 at 21:53:05 UTC, WhatMeWorry wrote:
string[] tokens = userSID.output.split!isWhite;
writeln("tokens = ", tokens);
tokens = ["SID", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", ""
On Sunday, 11 September 2022 at 02:14:51 UTC, zjh wrote:
On Saturday, 10 September 2022 at 22:07:32 UTC, Ali Çehreli
wrote:
On 9/10/22 13:04, Daniel Donnell wrote:
> https://dlang.org/spec/cpp_interface.html
At DConf, Manu indicated that that page is outdated and that
D's C++ support is actual
As you may already know if you want to move a file or rename a
folder in VisualD, you can't simply do it. I've even had to edit
the project file with Notepad++ in order to repair it.
So, I'm humbly asking how can we fix this? I'm considering doing
something in C++ which I'd rather not becaus
https://dlang.org/spec/cpp_interface.html
According to that C++ / D .object files can interoperate both
ways, but one has to be compiled before the other, order
depending on direction.
My question is, can you have a class C (C++) use a class D
(Dlang) in such a way that D can also use C as i
D could be the greatest thing on the planet. Like Python, D will
take over the world of coding.
On Thursday, 20 May 2021 at 22:54:18 UTC, Daniel Donnelly, Jr
wrote:
Hi, I'm just testing whether I can post here. Thank you.
Okay it worked. I am installing Visual D now. I am going to
write a program that tries to guess a mathematical model of data
using < 10 operators. I won't include
Hi, I'm just testing whether I can post here. Thank you.
21 matches
Mail list logo