首页> 外文会议>Approaches and applications of inductive programming >Enumerating Well-Typed Terms Generically
【24h】

Enumerating Well-Typed Terms Generically

机译:一般枚举类型良好的术语

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

We use generic programming techniques to generate well-typed lambda terms. We encode well-typed terms by means of generalized algebraic datatypes (GADTs) and existential types. The Spine approach to generic programming supports GADTs, but it does not support the definition of generic producers for existentials. We describe how to extend the Spine approach to support existentials and we use the improved Spine to define a generic enumeration function. We show that the enumeration function can be used to generate the terms of simply typed lambda calculus.
机译:我们使用通用编程技术来生成类型正确的lambda项。我们通过广义代数数据类型(GADT)和存在性类型对类型良好的术语进行编码。 Spine的通用编程方法支持GADT,但不支持为存在性定义通用生产者。我们描述了如何扩展Spine方法以支持存在性,并使用改进的Spine定义泛型枚举函数。我们表明枚举函数可用于生成简单类型的lambda演算的项。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号