Abstract
AbstractTask-oriented programming (top) is a new programming paradigm for specifying multi-user workflows. To reason formally abouttopprograms, a formal language calledTopHathas been designed, together with its operational semantics. For proving properties about task-oriented programs, it is desirable to know when twoTopHat-programs are semantically equivalent. This paper aims to answer this question. We show that a task can be in either one of five conditions, and for every two tasks in the same condition, we define what it means for them to be semantically equivalent. Using this definition, we study a number of transformation laws forTopHat-programs, which can be used by developers and compilers to optimisetop-programs. We show that the "Image missing"operation on types inTopHatis a functor but cannot be a monad. We support our findings with proofs formalised in the dependently typed programming languageIdris.
Publisher
Springer International Publishing
Reference14 articles.
1. Lecture Notes in Computer Science;P Achten,2015
2. Brady, E.C.: Idris, a general-purpose dependently typed programming language: design and implementation. J. Funct. Program. 23(5), 552–593 (2013)
3. Lecture Notes in Computer Science;P Koopman,2011
4. Lijnse, B., Jansen, J.M., Plasmeijer, R.: Incidone: a task-oriented incident coordination tool. In: Proceedings of ISCRAM (2012)
5. McBride, C., Paterson, R.: Applicative programming with effects. J. Funct. Program. 18(1), 1–13 (2008)
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Dynamic TopHat: Start and Stop Tasks at Runtime;The 35th Symposium on Implementation and Application of Functional Languages;2023-08-29