
8 Jun
2006
8 Jun
'06
1:16 a.m.
Chris Weed wrote:
Hi, I'd also like to see apply_visitor with more arguments. Is there a reason it is limited to 2? Chris
Eric Friedman wrote:
Chris,
I believe it was due to the complexity of implementing it :)
Seriously though, it would be a nice feature to have, but it was not immediately obvious at the time how to easily implement "ternary" visitation. Moreover, there wasn't the same compelling set of use cases as there is with binary visitation. Let me know if there is, though.
I had a use case: ternary operators for a scripting language. I implemented support for ternary and quarternary visitations. Files attached for your convenience. -- Shayne Fletcher www.shinseibank.com
6948
Age (days ago)
6948
Last active (days ago)
0 comments
1 participants
participants (1)
-
Shayne.Fletcher@shinseibank.com