dave08
02/12/2025, 12:05 PMYoussef Shoaib [MOD]
02/12/2025, 12:19 PMSingletonRaise<*>, since it's unlikely you're calling raise(null) instead of just raise() . The plan is that when context params are out, SingletonRaise will disappear, and instead you'll just use Raise<Unit>.Youssef Shoaib [MOD]
02/12/2025, 12:20 PMSingletonRaise is a Raise<Unit> under the hood, but it optionally appears as a way to raise(null) or raise(None) or anything like that. That's mainly because we wanted to preserve the shape of some APIs. It is practically a unified API for NullableRaise, OptionRaise, etc.dave08
02/12/2025, 12:21 PMSingleton?Youssef Shoaib [MOD]
02/12/2025, 12:22 PMUnit. Basically, UnitRaise didn't sound good.
Edit: oops turns out I called it that? I think again UnitRaise didn't sound correct, and the commonality between NullableRaise et al was that they all raise singletonsdave08
02/12/2025, 12:25 PMdave08
02/12/2025, 12:26 PMYoussef Shoaib [MOD]
02/12/2025, 12:27 PM