Skip to content

eschnett/hdf5-hs

Repository files navigation

HDF5 bindings for Haskell

Overview

HDF5 (the Hierarchical Data Format) is a widely used file format and library for storing and archiving scientific data. This library hdf5-hs provides Haskell bindings for HDF5.

hdf5-hs provides two API levels: A low-level API gives rather direct access to the HDF5 API, apart from certain "reasonable" mappings from C to Haskell (e.g. output arguments that are in C stored to a pointer are in Haskell regular return values). A high-level API simplifies storing and retrieving arbitrary values that can be serialized. A possible third level would look similar to the yaml package, allowing serialization of Haskell values similar to JSON or YAML files.