Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/2976022.2976024acmconferencesArticle/Chapter ViewAbstractPublication PagesicfpConference Proceedingsconference-collections
short-paper
Public Access

choose your own derivative (extended abstract)

Published: 18 September 2016 Publication History

Abstract

We discuss a generalization of the synchronization mechanism selective choice. We argue that selective choice can be extended to synchronize arbitrary data structures of events, based on a typing paradigm introduced by McBride: the derivatives of recursive data types. We discuss our work in progress implementing generalized selective choice as a Haskell library based on generic programming.

References

[1]
K. Claessen and J. Hughes. QuickCheck: a lightweight tool for random testing of Haskell programs. In 5th ACM SIGPLAN ICFP, pages 268– 279. ACM, 2000.
[2]
S. Marlow. async Hackage package. http://hackage.haskell. org/package/async-2.1.0, January 2016.
[3]
C. McBride. The derivative of a regular type is its type of one-hole contexts. Extended abstract. http://strictlypositive.org/diff. pdf, 2001.
[4]
J. H. Reppy. Concurrent Programming in ML. Cambridge University Press, 1999.
[5]
A. Simon, D. Coutts, et al. gtk Hackage package. http://hackage. haskell.org/package/gtk-0.14.5, June 2016.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
TyDe 2016: Proceedings of the 1st International Workshop on Type-Driven Development
September 2016
71 pages
ISBN:9781450344357
DOI:10.1145/2976022
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 18 September 2016

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Haskell
  2. concurrency
  3. derivatives
  4. selective choice

Qualifiers

  • Short-paper

Funding Sources

Conference

ICFP'16
Sponsor:

Upcoming Conference

ICFP '25
ACM SIGPLAN International Conference on Functional Programming
October 12 - 18, 2025
Singapore , Singapore

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 222
    Total Downloads
  • Downloads (Last 12 months)24
  • Downloads (Last 6 weeks)5
Reflects downloads up to 26 Dec 2024

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media