Concurrent programming in ERLANG (2nd ed.)
Concurrent programming in ERLANG (2nd ed.)
Domain specific embedded compilers
Proceedings of the 2nd conference on Domain-specific languages
Type-safe cast: (functional pearl)
ICFP '00 Proceedings of the fifth ACM SIGPLAN international conference on Functional programming
ASN.1: communication between heterogeneous systems
ASN.1: communication between heterogeneous systems
Server side web scripting in Haskell
Journal of Functional Programming
Hi-index | 0.00 |
This paper describes the development of a library of reusable Haskell code for building applications that make use of LDAP (Lightweight Directory Access Protocol). The code was written entirely in Haskell. Most was written in Haskell 98 using GHC taking advantage of the growing collection of libraries and one of the current extensions. Our goals were to assess the suitability of Haskell for building business applications and to investigate the benefits of using typed application interfaces.LDAP is defined in the Abstract Syntax Notation One (ASN. 1) which is used in an increasing range of applications, including network management and secure email. We describe our collection of LDAP types and how they bear a striking resemblance to the ASN. 1 definitions. We also provide a separate ASN type and encoding functions that are of use beyond this application.Our typed application interface has proved to be productive by identifying development errors at an early stage. In addition we avoid the limitations imposed by existing LDAP APIs and support pure functional application development. We illustrate this with a Web-based user interface written in Haskell.