arximboldi/immer

Boost.Hana integration

Closed this issue · 3 comments

Did anyone try to do this? I feel like these two libraries would blend together really nicely!

What kind of integration are you thinking about?

Modelling Hana's concepts in terms of Immer. Vectors would make nice Sequences was my initial thought.

Edit: I should mention that I have seen the Zug library (great library btw, same as Immer) and that too could be integrated with Hana - transducers sound a lot like lazy values in Hana with some flare.

Immer is most valuable at runtime, Hana works more at compile-time. I provided a more detailed answer in #138. Zug on the other hand I think actually could be indeed useful to express compile-time algorithms. There is some trickyness in doing constexpr stuff with lambdas though pre C++20.