skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: daft

Software ·
DOI:https://doi.org/10.11578/dc.20190516.1· OSTI ID:1513202 · Code ID:25600
 [1];  [1]
  1. National Renewable Energy Lab. (NREL), Golden, CO (United States)

Daft is a Haskell library that implements the key constructs of relational algebra via static structural typing. Its DataCube typeclass supports selection, projection, aggregation, disaggregation, natural joins, semijoins, and antijoins. Instances of DataCube include both map- and function-based representations. An additional abstract data type provides Vinyl-style, keyed relational tables for which an embedded domain-specific language compactly represents relational operations. Utility types and functions support serialization to tab-separated-value data files, JSON arrays, MongoDB documents, and PostgreSQL tables, including automatic detection and verification of the schema for the input data.

Project Type:
Open Source, Publicly Available Repository
Site Accession Number:
NREL SWR-17-53
Software Type:
Scientific
License(s):
MIT License
Programming Language(s):
Haskell
Research Organization:
National Renewable Energy Laboratory (NREL), Golden, CO (United States)
Sponsoring Organization:
USDOE Laboratory Directed Research and Development (LDRD) Program

Primary Award/Contract Number:
Other Award/Contract Number:
AC36-08GO28308
Code ID:
25600
OSTI ID:
1513202
Country of Origin:
United States

Similar Records

AESD (Advanced Energy System Design) Records API [SWRs-17-50, 17-51, 17-52]
Software · Thu Aug 30 00:00:00 EDT 2018 · OSTI ID:1513202

Simulation INsight and Analysis
Software · Mon Nov 19 00:00:00 EST 2018 · OSTI ID:1513202

Nux, V.1.0
Software · Mon May 30 00:00:00 EDT 2005 · OSTI ID:1513202

Related Subjects