Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development最新文献

筛选
英文 中文
Implementing resource-aware safe assembly for kernel probes as a dependently-typed DSL 将内核探测的资源感知安全程序集实现为依赖类型的DSL
Ilya Yanok, Nathaniel Nystrom
{"title":"Implementing resource-aware safe assembly for kernel probes as a dependently-typed DSL","authors":"Ilya Yanok, Nathaniel Nystrom","doi":"10.1145/3240719.3241792","DOIUrl":"https://doi.org/10.1145/3240719.3241792","url":null,"abstract":"We present construction of resource-aware safe typed assembly language as an EDSL in dependently-typed Idris language. We use this assembly language to compile Linux kernel probes — small pieces of instrumentation code injected directly into the kernel and thus having to satisfy strict safety properties. We believe that the techniques presented can be generally applied to embedding a typed assembly language into a functional language with dependent types.","PeriodicalId":373967,"journal":{"name":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","volume":"80 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124013494","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Typing, representing, and abstracting control: functional pearl 输入、表示和抽象控件:功能珍珠
Philipp Schuster, J. Brachthäuser
{"title":"Typing, representing, and abstracting control: functional pearl","authors":"Philipp Schuster, J. Brachthäuser","doi":"10.1145/3240719.3241788","DOIUrl":"https://doi.org/10.1145/3240719.3241788","url":null,"abstract":"A well known technique to implement programming languages with delimited control operators shift and reset is to translate programs into continuation passing style (CPS). We can iterate the CPS translation to obtain the CPS hierarchy and to implement a family of control operators shifti and reseti. This functional pearl retells the story of a family of delimited control operators and their translation to lambda calculus via the CPS hierarchy. Prior work on the CPS hierarchy fixes a level of n control operators for the entire program upfront, but we allow different parts of the program to live at different levels. It turns out that taking shift0 rather than shift as the basis for the family of control operators is essential for this. Our source language is a typed embedding in the dependently typed language Idris. Our target language is a HOAS embedding in Idris. The translation avoids administrative beta- and eta-redexes at all levels of the CPS hierarchy, by iterating well-known techniques for the non-iterated CPS translation.","PeriodicalId":373967,"journal":{"name":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","volume":"12 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127147997","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
From algebra to abstract machine: a verified generic construction 从代数到抽象机器:一个验证的泛型构造
C. T. Cortiñas, Wouter Swierstra
{"title":"From algebra to abstract machine: a verified generic construction","authors":"C. T. Cortiñas, Wouter Swierstra","doi":"10.1145/3240719.3241787","DOIUrl":"https://doi.org/10.1145/3240719.3241787","url":null,"abstract":"Many functions over algebraic datatypes can be expressed in terms of a fold. Doing so, however, has one notable drawback: folds are not tail-recursive. As a result, a function defined in terms of a fold may raise a stack overflow when executed. This paper defines a datatype generic, tail-recursive higher-order function that is guaranteed to produce the same result as the fold. Doing so combines the compositional nature of folds and the performance benefits of a hand-written tail-recursive function in a single setting.","PeriodicalId":373967,"journal":{"name":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","volume":"68 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129027182","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development 第三届ACM SIGPLAN类型驱动发展国际研讨会论文集
{"title":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","authors":"","doi":"10.1145/3240719","DOIUrl":"https://doi.org/10.1145/3240719","url":null,"abstract":"","PeriodicalId":373967,"journal":{"name":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","volume":"28 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126521776","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Authenticated modular maps in Haskell Haskell中的认证模块映射
Victor Cacciari Miraldo, H. Carr, Alex Kogan, Mark Moir, M. Herlihy
{"title":"Authenticated modular maps in Haskell","authors":"Victor Cacciari Miraldo, H. Carr, Alex Kogan, Mark Moir, M. Herlihy","doi":"10.1145/3240719.3241790","DOIUrl":"https://doi.org/10.1145/3240719.3241790","url":null,"abstract":"We present hamm, a Haskell library that enables programmers to easily configure authenticated map (key-value store) implementations. We use type level programming techniques to establish an extensible foundation, and provide an example base map and several example “add on” transformers supporting features such as caches, Bloom filters and paging structures. Another add-on enables a prover to provide—and a verifier to verify—a “summary” containing only a small subset of the map’s data, and a verifier to receive and verify additional data only if needed. Preliminary performance results demonstrate significant potential for authenticated maps configured using hamm to support our goal of enabling participants to join blockchain networks faster.","PeriodicalId":373967,"journal":{"name":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128185611","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
First class dynamic effect handlers: or, polymorphic heaps with dynamic effect handlers 第一类动态效果处理程序:或者,具有动态效果处理程序的多态堆
Daan Leijen
{"title":"First class dynamic effect handlers: or, polymorphic heaps with dynamic effect handlers","authors":"Daan Leijen","doi":"10.1145/3240719.3241789","DOIUrl":"https://doi.org/10.1145/3240719.3241789","url":null,"abstract":"Algebraic effect handlers are a powerful abstraction mechanism that can express many complex control-flow mechanisms. This article extends basic algebraic effect handlers with first class dynamic effects. Dynamic effects add a lot more expressiveness but surprisingly only need minimal changes to the original semantics. As such, dynamic effects are a powerful abstraction but can still be understood and reasoned about as regular effect handlers. We illustrate the expressiveness of dynamic effects with first class event streams in CorrL and also model full polymorphic heap references without requiring any further primitives.","PeriodicalId":373967,"journal":{"name":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","volume":"10 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121250700","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 7
Sums of products for mutually recursive datatypes: the appropriationist’s view on generic programming 相互递归数据类型的乘积和:泛型规划的占位主义观点
Victor Cacciari Miraldo, A. Serrano
{"title":"Sums of products for mutually recursive datatypes: the appropriationist’s view on generic programming","authors":"Victor Cacciari Miraldo, A. Serrano","doi":"10.1145/3240719.3241786","DOIUrl":"https://doi.org/10.1145/3240719.3241786","url":null,"abstract":"Generic programming for mutually recursive families of datatypes is hard. On the other hand, most interesting abstract syntax trees are described by a mutually recursive family of datatypes. We could give up on using that mutually recursive structure, but then we lose the ability to use those generic operations which take advantage of that same structure. We present a new approach to generic programming that uses modern Haskell features to handle mutually recursive families with explicit sum-of-products structure. This additional structure allows us to remove much of the complexity previously associated with generic programming over these types.","PeriodicalId":373967,"journal":{"name":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122202164","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
Extensible type-directed editing 可扩展的类型导向编辑
Joomy Korkut, D. Christiansen
{"title":"Extensible type-directed editing","authors":"Joomy Korkut, D. Christiansen","doi":"10.1145/3240719.3241791","DOIUrl":"https://doi.org/10.1145/3240719.3241791","url":null,"abstract":"Dependently typed programming languages, such as Idris and Agda, feature rich interactive environments that use informative types to assist users with the construction of programs. However, these environments have been provided by the authors of the language, and users have not had an easy way to extend and customize them. We address this problem by extending Idris's metaprogramming facilities with primitives for describing new type-directed editing features, making Idris's editors as extensible as its elaborator.","PeriodicalId":373967,"journal":{"name":"Proceedings of the 3rd ACM SIGPLAN International Workshop on Type-Driven Development","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2018-09-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115122455","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书