File Download
There are no files associated with this item.
Links for fulltext
(May Require Subscription)
- Publisher Website: 10.1145/1411318.1411323
- Scopus: eid_2-s2.0-64849111659
Supplementary
-
Citations:
- Scopus: 0
- Appears in Collections:
Conference Paper: Scala for generic programmers
Title | Scala for generic programmers |
---|---|
Authors | |
Keywords | Datatype-Generic Programming Polytypic Programming Scala |
Issue Date | 2008 |
Citation | Wgp'08 - Proceedings Of The 2008 Acm Sigplan Workshop On Generic Programming, 2008, p. 25-36 How to Cite? |
Abstract | Datatype-generic programming involves parametrization by the shape of data, in the form of type constructors such as 'list of'. Most approaches to datatype-generic programming are developed in the lazy functional programming language Haskell. We argue that the functional object-oriented language Scala is in many ways a better setting. Not only does Scala provide equivalents of all the necessary functional programming features (such parametric polymorphism, higher-order functions, higher-kinded type operations, and type- and constructor-classes), but it also provides the most useful features of object-oriented languages (such as subtyping, overriding, traditional single inheritance, and multiple inheritance in the form of traits). We show how this combination of features benefits datatype-generic programming, using three different approaches as illustrations. Copyright © 2008 ACM. |
Persistent Identifier | http://hdl.handle.net/10722/188481 |
References |
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Oliveira, BCDS | en_US |
dc.contributor.author | Gibbons, J | en_US |
dc.date.accessioned | 2013-09-03T04:08:38Z | - |
dc.date.available | 2013-09-03T04:08:38Z | - |
dc.date.issued | 2008 | en_US |
dc.identifier.citation | Wgp'08 - Proceedings Of The 2008 Acm Sigplan Workshop On Generic Programming, 2008, p. 25-36 | en_US |
dc.identifier.uri | http://hdl.handle.net/10722/188481 | - |
dc.description.abstract | Datatype-generic programming involves parametrization by the shape of data, in the form of type constructors such as 'list of'. Most approaches to datatype-generic programming are developed in the lazy functional programming language Haskell. We argue that the functional object-oriented language Scala is in many ways a better setting. Not only does Scala provide equivalents of all the necessary functional programming features (such parametric polymorphism, higher-order functions, higher-kinded type operations, and type- and constructor-classes), but it also provides the most useful features of object-oriented languages (such as subtyping, overriding, traditional single inheritance, and multiple inheritance in the form of traits). We show how this combination of features benefits datatype-generic programming, using three different approaches as illustrations. Copyright © 2008 ACM. | en_US |
dc.language | eng | en_US |
dc.relation.ispartof | WGP'08 - Proceedings of the 2008 ACM SIGPLAN Workshop on Generic Programming | en_US |
dc.subject | Datatype-Generic Programming | en_US |
dc.subject | Polytypic Programming | en_US |
dc.subject | Scala | en_US |
dc.title | Scala for generic programmers | en_US |
dc.type | Conference_Paper | en_US |
dc.identifier.email | Oliveira, BCDS: oliveira@comp.nus.edu.sg | en_US |
dc.identifier.authority | Oliveira, BCDS=rp01786 | en_US |
dc.description.nature | link_to_subscribed_fulltext | en_US |
dc.identifier.doi | 10.1145/1411318.1411323 | en_US |
dc.identifier.scopus | eid_2-s2.0-64849111659 | en_US |
dc.relation.references | http://www.scopus.com/mlt/select.url?eid=2-s2.0-64849111659&selection=ref&src=s&origin=recordpage | en_US |
dc.identifier.spage | 25 | en_US |
dc.identifier.epage | 36 | en_US |
dc.identifier.scopusauthorid | Oliveira, BCDS=12239474400 | en_US |
dc.identifier.scopusauthorid | Gibbons, J=7201472851 | en_US |