113 research outputs found

    Efficient and Type-Safe Generic Data Storage

    Get PDF
    AbstractIn this paper we present an elegant method for sequentializing arbitrary data using the generic language extension of the functional programming language Clean. We show how the proposed operations can be used to store values of any concrete data type in several kinds of IO containers (such as files or arrays of characters), and how to manipulate stored data efficiently. Moreover, by extending stored data with encoded type information, data manipulation will be type-safe. Defining these operations generically has the advantage that specific instances for user defined data types can be generated fully automatically. Compared to traditional sequentialization methods (or to common data manipulation, using relational data bases) our operations are an order of magnitude faster

    Specific "scientific" data structures, and their processing

    Full text link
    Programming physicists use, as all programmers, arrays, lists, tuples, records, etc., and this requires some change in their thought patterns while converting their formulae into some code, since the "data structures" operated upon, while elaborating some theory and its consequences, are rather: power series and Pad\'e approximants, differential forms and other instances of differential algebras, functionals (for the variational calculus), trajectories (solutions of differential equations), Young diagrams and Feynman graphs, etc. Such data is often used in a [semi-]numerical setting, not necessarily "symbolic", appropriate for the computer algebra packages. Modules adapted to such data may be "just libraries", but often they become specific, embedded sub-languages, typically mapped into object-oriented frameworks, with overloaded mathematical operations. Here we present a functional approach to this philosophy. We show how the usage of Haskell datatypes and - fundamental for our tutorial - the application of lazy evaluation makes it possible to operate upon such data (in particular: the "infinite" sequences) in a natural and comfortable manner.Comment: In Proceedings DSL 2011, arXiv:1109.032

    The Implementation of iData - A Case Study in Generic Programming

    Get PDF
    Contains fulltext : 35194.pdf ( ) (Open Access

    Systematic Synthesis of Functions

    Get PDF
    Contains fulltext : 35333.pdf (author's version ) (Open Access

    Systematic Synthesis of lambda-Terms

    Get PDF
    Contains fulltext : 36536.pdf (author's version ) (Open Access

    A Conference Management System based on the iData Toolkit

    Get PDF
    Contains fulltext : 36712.pdf ( ) (Open Access

    Functional programming and parallel graph rewriting

    No full text
    xviii, 572 p.; 24 cm
    • …
    corecore