Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions can be used as arguments to other actions, but services can not #13

Open
holgerl opened this issue Jun 27, 2018 · 1 comment
Open

Comments

@holgerl
Copy link
Owner

holgerl commented Jun 27, 2018

Should it be possible?

@holgerl
Copy link
Owner Author

holgerl commented Jun 27, 2018

This would be the syntax:

@ var MyService := 
	@ var myHigherAction :
		@ var serviceArg : (@.argument)
		@ . serviceArg serviceAct 2

@ var OtherService := 
	@ var serviceAct :
		100 + (@.argument)
		
@ var bar = 
	MyService myHigherAction (@ . OtherService)
	//(@ . OtherService) serviceAct  1 // This works, so it is possible with a service given by an expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant