Waldemar Kornewald

Results 64 comments of Waldemar Kornewald

The easiest way would be to change build.gradle to also generate the HTML report in this app: https://github.com/Digitaler-Impfnachweis/covpass-android

The `combine` operation is actually not the best abstraction. Take a look at Jetpack Compose's `derivedStateOf` which is much more powerful and more (easily) optimal. My open-source library ([ReactiveState](https://github.com/ensody/ReactiveState-Kotlin)) provides...

We do have retry handling and other code that needs to work around limitations of underlying libraries with `delay` and those can happen inside non-Main dispatchers. It would be really...

Since you're collecting information, I'd like to mention [my "proposal"](https://github.com/dart-lang/sdk/issues/4938#issuecomment-396005754) where I suggested how you could combine pattern matching, data classes, union types, and typedef into a coherent whole while...

I'd say it's more relevant to #83, so let's discuss [over there](https://github.com/dart-lang/language/issues/83#issuecomment-531217941).

@modulovalue That's a great suggestion. Lenses would be very helpful for safe and ergonomic state management (e.g. for my [flutter_simple_state](https://github.com/ensody/flutter_simple_state) package or, if you prefer, something similar to immutable.js +...

I'd be really disappointed if Dart added ADTs / enum types instead of real union types. The latter are much more ergonomic, flexible and capture exactly the essence of what...

@werediver Sure they could coexist, but what is missing from union types that is absolutely necessary from a practical point of view? Do you have a code example?

You can do that with union types, too: ```dart typedef Message = Info(String) | Warning(String) | Error(String) ``` We don't really have to use an explicit "data" keyword in typedefs...

> @wkornewald: > > > We don't really have to use an explicit "data" keyword ... > > I used the `data` keyword, because I was "speaking" Haskell. I was...