Direkt zum Inhalt

Minimally Strict Polymorphic Functions

Abstract

In this paper we show how to efficiently check whether a polymorphic function is minimally strict. A function is minimally strict if it is the minimal element of a specific less-strict ordering. We prove that we can check whether two polymorphic functions are related by the less-strict ordering by either checking it a) for an arbitrary monomorphic instance of the functions or b) for all shapes of the functions’ argument type. A shape is a value of a monomorphic instance of a polymorphic data type where each polymorphic component is replaced by an element that identifies its position in the data structure. In contrast to recent publications that characterize polymorphic functions by monomorphic instances we consider non-termination and selective strictness, i.e., a language closer to Haskell.

Zitieren

1.
Christiansen J, Seidel D. Minimally Strict Polymorphic Functions. In: Proceedings of the 13th International ACM SIGPLAN Symposium on Principles and Practices of Declarative Programming - PPDP 11. ACM Press; 2011:53. doi:10.1145/2003476.2003487.
Christiansen, J. ., & Seidel, D. . (2011). Minimally Strict Polymorphic Functions. In Proceedings of the 13th International ACM SIGPLAN Symposium on Principles and Practices of Declarative Programming - PPDP 11 (S. 53). ACM Press. http://doi.org/10.1145/2003476.2003487
Christiansen, Jan, und Daniel Seidel. 2011. „Minimally Strict Polymorphic Functions“. In Proceedings of the 13th International ACM SIGPLAN Symposium on Principles and Practices of Declarative Programming - PPDP 11, 53. ACM Press. doi:10.1145/2003476.2003487.
Christiansen, Jan, und Daniel Seidel. „Minimally Strict Polymorphic Functions“. Proceedings of the 13th International ACM SIGPLAN Symposium on Principles and Practices of Declarative Programming - PPDP 11. ACM Press, 2011. 53.
Christiansen, Jan, und Daniel Seidel. „Minimally Strict Polymorphic Functions“. Proceedings of the 13th International ACM SIGPLAN Symposium on Principles and Practices of Declarative Programming - PPDP 11, ACM Press, 2011, S. 53.

Details

  • Number of Pages

    53
  • Publisher

    ACM Press
  • ISBN Number

    978-1-4503-0776-5