snivilised / lorax

🌟 reactive extensions for go (a pseudo rxgo version 3)
MIT License
5 stars 0 forks source link

define a query helper for Item #247

Closed plastikfan closed 4 months ago

plastikfan commented 5 months ago

Implement a Query function that returns an indication of the correct type of Item. Eg for a Num instance, Query could return either the function to use to get the correct value or simply return the discriminator so the client can determine the correct helper function to use.