Youssef Shoaib

Results 97 comments of Youssef Shoaib

I think that the IR backend might be causing problems yeah. I turned it on temporarily because there was a weird bug with the normal compiler where when you have...

I understand that early returns are quite controversial. I think, however, that it can be really nice to use whenever the error path is more complicated than the happy path....

I'll take a stab at this in `arrow-context`, since I think contexts could make implementing this pattern a lot easier. My only fear is that collisions could happen where the...

Turning `Raise` into a `sealed interface` feels like a very hard change to justify. I think there's some use cases opened up here, though, like accessing `isTraced`. The implementors of...

Requesting reviews just to get some thoughts on this. I'm not fully convinced that this PR is the right approach, but It's hard to see how else to conditionally trace...

Is this better? I hid `Failure` as a class entirely, and instead use a function that returns an `Any?`. I know this is magical on the surface, but it's a...

For sure, let me clarify. When using our `either` builder, we end up allocating a wrapper regardless of whether the function completes successfully or raises a value. We also end...

Yep, that's fine! I will rebase/merge right when `main` becomes arrow2

Closed in favour of #3408 or perhaps a `RaisingDeferred` type.

This is intentional behaviour. We want you to be able to set up multiple Raise instances, and be able to raise to any of them easily. This allows for easy...