Simon Michael

Results 1245 comments of Simon Michael

[#290 Support assertions which include subaccounts](https://github.com/simonmichael/hledger/issues/290)

Given the feature as you describe it, what would you do once those transactions clear ? I foresee complications.

@Ekleog let us know if you get a chance to try adept's method (using a temporary third account) .

I'm not happy with it either, but I haven't found a better way to structure the types yet..

I like the sound of it! If you get some time, please give it a try and see how it works out.

It's a bit tricky isn't it. Almost makes you wish for plain old object-oriented code. As you rightly say, we don't want to make this complex and harder to understand....

Is this invariant sufficiently documented in the public API docs, eg https://hackage.haskell.org/package/containers-0.6.6/docs/Data-Map.html ? How feasible would it be to provide a safer [default] API that can't be misused this way...

(I was assuming they are not calling containers' internal APIs, and indeed I find no reference to Data.Map.Internal or Data.Set.Internal in cardano-node).

Hear hear, well said ! I didn't want to "make it real", but thank you @hasufell and good luck, whether you return to ghcup or not.