Closed neurusL closed 3 months ago
Will simplify the implementation a bit. Hands a bit tied by the way macros work, but should be a bit better #1204
Can't really make the error messages perfect due to how proc macros work but they should be a lot better now. Feel free to post any weird error messages you get and we can see if it can be improved further
Thanks a lot! It's indeed more readable now.
Hi, we are a team from Carnegie Mellon University using Hydroflow for reactive programming. The idea Hydroflow representing code as dataflow is really inspiring and convenient for us to use. Thanks for your great project! A slight issue we encounter is when we use the operator
demux_enum
, the debug info auto-generated by rust compiler is a bit confusing. For example, we didn't notice there's a requirement for exhaustive matching for succeeding dataflow ofdemux_enum
, while the error message is, for example:Another example is when succeeding dataflow's input type doesn't match
demux_enum
's output type, the error message refers todemux_enum
rather than succeeding dataflow, for example:We feel like maybe in future sprints, you can improve these bug reports to make Hydroflow more user friendly. Thanks!