HasCacBDD: Haskell bindings for CacBDD

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

Haskell bindings for CacBDD, a Binary Decision Diagram (BDD) package with dynamic cache management. Original C++ code from http://kailesu.net/CacBDD and a C wrapper are included.


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.1.0.1, 0.1.0.1, 0.1.0.2
Change logNone available
Dependenciesbase (>=4.8 && <5), process (>=1.1), QuickCheck [details]
LicenseGPL-2.0-only
AuthorMalvin Gattinger
Maintainermalvin@w4eg.de
CategoryData
Home pagehttps://github.com/m4lvin/HasCacBDD
Source repositoryhead: git clone git://github.com/m4lvin/HasCacBDD.git
UploadedThu Jan 24 10:29:42 UTC 2019 by m4lvin

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees


Readme for HasCacBDD-0.1.0.1

[back to package description]

HasCacBDD

Release Hackage Build Status

Haskell bindings for CacBDD, a Binary Decision Diagram (BDD) package with dynamic cache management.

Original C++ code from http://kailesu.net/CacBDD and a C wrapper are included.

Getting Started

  1. Install C compilers and stack if necessary:

    apt install build-essential git
    curl -sSL https://get.haskellstack.org/ | sh
    
  2. Download, build and load the lastest version:

    git clone https://github.com/m4lvin/HasCacBDD.git
    cd HasCacBDD
    stack setup
    stack build
    stack exec ghci
    

    Note: stack ghci apparently does not work with the shared library. You really need stack build and then stack exec ghci.

  3. Play :-)

    λ> import Data.HasCacBDD
    λ> var 5
    Var 5 Top Bot
    λ> neg (var 5)
    Var 5 Bot Top
    λ> dis (neg (var 3)) (var 3)
    Top