43
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      Isomorphisms considered as equalities: Projecting functions and enhancing partial application through and implementation of lambda+

      Preprint
      ,

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          We propose an implementation of lambda+, a recently introduced simply typed lambda-calculus with pairs where isomorphic types are made equal. The rewrite system of lambda+ is a rewrite system modulo an equivalence relation, which makes its implementation non-trivial. We also extend lambda+ with natural numbers and general recursion and use Beki\'c's theorem to split mutual recursions. This splitting, together with the features of lambda+, allows for a novel way of program transformation by reduction, by projecting a function before it is applied in order to simplify it. Also, currying together with the associativity and commutativity of pairs gives an enhanced form of partial application.

          Related collections

          Author and article information

          Journal
          2015-11-30
          2016-02-11
          Article
          1511.09324
          6c749697-e9c9-4ab8-99df-a35d387f05ac

          http://arxiv.org/licenses/nonexclusive-distrib/1.0/

          History
          Custom metadata
          A prototype writen in Haskell can be found at http://diaz-caro.web.unq.edu.ar/IsoAsEq-v1.0.tar.gz
          cs.LO

          Theoretical computer science
          Theoretical computer science

          Comments

          Comment on this article