1,142
views
0
recommends
+1 Recommend
1 collections
    4
    shares

      Celebrating 65 years of The Computer Journal - free-to-read perspectives - bcs.org/tcj65

      scite_
       
      • Record: found
      • Abstract: found
      • Conference Proceedings: found
      Is Open Access

      Monadic Reflection in Haskell

      proceedings-article
      Workshop on Mathematically Structured Functional Programming (MSFP 2006) (MSFP)
      Mathematically Structured Functional Programming
      2 July 2006
      Monadic Reflection, Lazy Effectful Languages
      Bookmark

            Abstract

            A monadic-style functional program allows the imperative, behavioral view of a computational effect (e.g., backtracking) to be identified with a declarative, data-based view (e.g., lists) in a uniform way. Monadic reflection refines this identification into an observational isomorphism, with explicit reification and reflection functions mediating between the two views. Such a separation allows the programmer to reason robustly about monadic effects according to the declarative view, while implementing the imperative view much more efficiently in terms of lower-level control and state manipulations. Monadic reflection has so far mostly been considered systematically in the context of eager, effectful languages, such as ML or Scheme. We examine the prospects of the technique in the setting of Haskell-like languages, from both a theoretical and a practical perspective.

            Content

            Author and article information

            Contributors
            Conference
            July 2006
            July 2006
            : 1
            Affiliations
            [0001]

            Article
            10.14236/ewic/MSFP2006.1
            eb884781-0638-418e-bb3c-4cf126ac7e96
            © Andrzej Filinski. Published by BCS Learning and Development Ltd. Workshop on Mathematically Structured Functional Programming (MSFP 2006), Kuressaare, Estonia

            This work is licensed under a Creative Commons Attribution 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/

            Workshop on Mathematically Structured Functional Programming (MSFP 2006)
            MSFP
            Kuressaare, Estonia
            2 July 2006
            Electronic Workshops in Computing (eWiC)
            Mathematically Structured Functional Programming
            History
            Product

            1477-9358 BCS Learning & Development

            Self URI (article page): https://www.scienceopen.com/hosted-document?doi=10.14236/ewic/MSFP2006.1
            Self URI (journal page): https://ewic.bcs.org/
            Categories
            Electronic Workshops in Computing

            Applied computer science,Computer science,Security & Cryptology,Graphics & Multimedia design,General computer science,Human-computer-interaction
            Monadic Reflection,Lazy Effectful Languages

            Comments

            Comment on this article