Closed pthom closed 2 years ago
Sorry to bother you today with several issues.
No worries, your issues are good. :)
Answer when you can, there is no emergency, since I may be bikeshedding a bit.
I like the bikeshedding in this case. ;)
Did you encounter this case, and do you know a possible workaround?
Not yet. I'll have a look.
My gut feeling is, that we have no chance to make version 3 work, even though it would be very nice. I think we need an actual function (for example by instantiating a function template) to pass to compose
. We can't pass a function template. C++ is (maybe sadly :grin:) not Haskell.
C++ is (maybe sadly 😁) not Haskell.
Yes, exactly
Feel free to close.
Sorry to bother you today with several issues. Answer when you can, there is no emergency, since I may be bikeshedding a bit.
I tried to compose several generic functions via
fplus::compose
, but I ended up being forced to specify the container type.See below, version 3 would be the most intuitive; but it does not compile. Did you encounter this case, and do you know a possible workaround?
Here is the error message: