The clash-prelude package

[Tags: bsd2, library]

CλaSH (pronounced ‘clash’) is a functional hardware description language that borrows both its syntax and semantics from the functional programming language Haskell. The merits of using a functional language to describe hardware comes from the fact that combinational circuits can be directly modeled as mathematical functions and that functional languages lend themselves very well at describing and (de-)composing mathematical functions.

This package provides:

To use the library:

A preliminary version of a tutorial can be found in CLaSH.Tutorial, for a general overview of the library you should however check out CLaSH.Prelude. Some circuit examples can be found in CLaSH.Examples.

[Skip to ReadMe]


Versions0.2, 0.3, 0.4, 0.5,, 0.5.1, 0.6,, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.8, 0.8.1, 0.9, 0.9.1
Dependenciesarray (>=, base (>= && <5), data-default (>=0.5.3), ghc-prim (>=, ghc-typelits-natnormalise (>=0.3), integer-gmp (>=, lens (>=4.9), QuickCheck (>=2.7 && <2.9), singletons (>=1.0), template-haskell (>=, th-lift (>=0.5.6), transformers (>= [details]
CopyrightCopyright © 2013-2015 University of Twente
AuthorChristiaan Baaij
MaintainerChristiaan Baaij <>
Home page
Bug tracker
Source repositoryhead: git clone
UploadedFri Jun 26 17:26:46 UTC 2015 by ChristiaanBaaij
DistributionsNixOS:0.9.1, Stackage:0.9.1
Downloads1718 total (157 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




doctestsYou can disable testing with doctests using `-f-doctests`.Enabled
doclinksCreate hyperlinks to non-dependent packages using `-fdoclinks`.Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees

Readme for clash-prelude-0.9.1

Build Status Hackage Hackage Dependencies

= WARNING = Only works with GHC-7.10.* (!