NDLI logo
  • Content
  • Similar Resources
  • Metadata
  • Cite This
  • Log-in
  • Fullscreen
Log-in
Do not have an account? Register Now
Forgot your password? Account recovery
  1. Proceedings of the 9th International Symposium on Haskell (Haskell 2016)
  2. Pattern synonyms
Loading...

Please wait, while we are loading the content...

FitSpec: refining property sets for functional testing
Causal commutative arrows revisited
Free delivery (functional pearl)
High-performance client-side web applications through Haskell EDSLs
Pattern synonyms
Revisiting software transactional memory in Haskell
Experience report: types for a relational algebra library
The Key monad: type-safe unconstrained dynamic typing
Non-recursive make considered harmful: build systems at scale
QuickFuzz: an automatic random fuzzer for common file formats
Functional reactive programming, refactored
How to twist pointers without breaking them
Experience report: developing high performance HTTP/2 server in Haskell
Desugaring Haskell's do-notation into applicative operations
Autobahn: using genetic algorithms to infer strictness annotations
Embedding session types in Haskell
Supermonads: one notion to bind them all
Lazy graph processing in Haskell

Similar Documents

...
Under consideration for publication in J. Functional Programming 1 The Logic of Demand in Haskell

Article

...
Under consideration for publication in J. Functional Programming 1 The Logic of Demand in Haskell

Article

...
Reflecting Demand in Programming Logics: a case study for Haskell

Article

...
Not all patterns, but enough: an automatic verifier for partial but sufficient pattern matching

Article

...
Dependency-style generic haskell

Article

...
Word puzzles in Haskell: interactive games for functional programming exercises

Article

...
Yi: an editor in haskell for haskell

Article

...
Context Patterns in Haskell (1996)

Article

...
Correctness of an STM Haskell implementation

Article

Pattern synonyms

Content Provider ACM Digital Library
Author Peyton Jones, Simon Pickering, Matthew Érdi, Gergő Eisenberg, Richard A.
Abstract Pattern matching has proven to be a convenient, expressive way of inspecting data. Yet this language feature, in its traditional form, is limited: patterns must be data constructors of concrete data types. No computation or abstraction is allowed. The data type in question must be concrete, with no ability to enforce any invariants. Any change in this data type requires all clients to update their code. This paper introduces pattern synonyms, which allow programmers to abstract over patterns, painting over all the shortcomings listed above. Pattern synonyms are assigned types, enabling a compiler to check the validity of a synonym independent of its definition. These types are intricate; detailing how to assign a type to a pattern synonym is a key contribution of this work. We have implemented pattern synonyms in the Glasgow Haskell Compiler, where they have enjoyed immediate popularity, but we believe this feature could easily be exported to other languages that support pattern matching. .
Starting Page 80
Ending Page 91
Page Count 12
File Format PDF
ISBN 9781450344340
DOI 10.1145/2976002.2976013
Language English
Publisher Association for Computing Machinery (ACM)
Publisher Date 2016-09-08
Publisher Place New York
Access Restriction Subscribed
Subject Keyword Haskell Functional programming Pattern matching
Content Type Text
Resource Type Article
  • About
  • Disclaimer
  • Feedback
  • Sponsor
  • Contact
  • Chat with Us
About National Digital Library of India (NDLI)
NDLI logo

National Digital Library of India (NDLI) is a virtual repository of learning resources which is not just a repository with search/browse facilities but provides a host of services for the learner community. It is sponsored and mentored by Ministry of Education, Government of India, through its National Mission on Education through Information and Communication Technology (NMEICT). Filtered and federated searching is employed to facilitate focused searching so that learners can find the right resource with least effort and in minimum time. NDLI provides user group-specific services such as Examination Preparatory for School and College students and job aspirants. Services for Researchers and general learners are also provided. NDLI is designed to hold content of any language and provides interface support for 10 most widely used Indian languages. It is built to provide support for all academic levels including researchers and life-long learners, all disciplines, all popular forms of access devices and differently-abled learners. It is designed to enable people to learn and prepare from best practices from all over the world and to facilitate researchers to perform inter-linked exploration from multiple sources. It is developed, operated and maintained from Indian Institute of Technology Kharagpur.

Learn more about this project from here.

Disclaimer

NDLI is a conglomeration of freely available or institutionally contributed or donated or publisher managed contents. Almost all these contents are hosted and accessed from respective sources. The responsibility for authenticity, relevance, completeness, accuracy, reliability and suitability of these contents rests with the respective organization and NDLI has no responsibility or liability for these. Every effort is made to keep the NDLI portal up and running smoothly unless there are some unavoidable technical issues.

Feedback

Sponsor

Ministry of Education, through its National Mission on Education through Information and Communication Technology (NMEICT), has sponsored and funded the National Digital Library of India (NDLI) project.

Contact National Digital Library of India
Central Library (ISO-9001:2015 Certified)
Indian Institute of Technology Kharagpur
Kharagpur, West Bengal, India | PIN - 721302
See location in the Map
03222 282435
Mail: support@ndl.gov.in
Sl. Authority Responsibilities Communication Details
1 Ministry of Education (GoI),
Department of Higher Education
Sanctioning Authority https://www.education.gov.in/ict-initiatives
2 Indian Institute of Technology Kharagpur Host Institute of the Project: The host institute of the project is responsible for providing infrastructure support and hosting the project https://www.iitkgp.ac.in
3 National Digital Library of India Office, Indian Institute of Technology Kharagpur The administrative and infrastructural headquarters of the project Dr. B. Sutradhar  bsutra@ndl.gov.in
4 Project PI / Joint PI Principal Investigator and Joint Principal Investigators of the project Dr. B. Sutradhar  bsutra@ndl.gov.in
Prof. Saswat Chakrabarti  will be added soon
5 Website/Portal (Helpdesk) Queries regarding NDLI and its services support@ndl.gov.in
6 Contents and Copyright Issues Queries related to content curation and copyright issues content@ndl.gov.in
7 National Digital Library of India Club (NDLI Club) Queries related to NDLI Club formation, support, user awareness program, seminar/symposium, collaboration, social media, promotion, and outreach clubsupport@ndl.gov.in
8 Digital Preservation Centre (DPC) Assistance with digitizing and archiving copyright-free printed books dpc@ndl.gov.in
9 IDR Setup or Support Queries related to establishment and support of Institutional Digital Repository (IDR) and IDR workshops idr@ndl.gov.in
I will try my best to help you...
Cite this Content
Loading...