STR-95: Allow strategy combinators to be passed as lambda abstractions
Something like
foo('+') foo(';') foo('++')
which can be compiled to something like:
let a_0(s1, s2) = s1 + s2
in foo(a_0)
endnote that this is related to lambda strategies. It might look weird now, but it is actually quite natural as soon as we have lambda abstractions.
If we have lambda abstractions, it can be compiled to:
foo( lambda (s1, s2) = s1 + s2 end)
Not sure if this is really a good idea, but it might be useful and attractive.
Submitted on 21 May 2004 at 11:54
Issue Log
On 21 May 2004 at 12:09 Jira commented:
STR-95, martin:
Oh, this idea is inspired by:global choice over static Foo rules
Foo : a -> b
Foo : c -> d
Foo(++)global choice over dynamic Foo rules
rules(Foo :+ a -> b)
rules(Foo :+ c -> d)
Foo(++)bagof(Foo(++)) returns all possible applications. We also need a combinator for scopes (bigbagof and bagof).
On 9 January 2013 at 16:55 Eelco Visser removed tag 0.22
On 9 January 2013 at 16:55 Eelco Visser tagged interesting
Log in to post comments