Monthly Downloads: 5
Programming language: Haskell
License: LicenseRef-GPL
Tags: Math    
Latest version: v0.1

singular-factory alternatives and similar packages

Based on the "Math" category.
Alternatively, view singular-factory alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of singular-factory or a related project?

Add another 'Math' Package


Haskell bindings to the Singular-Factory multivariate polynomial factorization engine.

Singular is a computer algebra system developed at the University of Kaiserslautern, and Factory is the polynomial factorization engine of Singular.

It handles multivariate polynomials over the integers, rationals, and finite fields (and also algebraic and trancendental extensions of these).

Installation instructions

Currently the library works on macOS (tested with Homebrew), and on Linux (tested with Debian).


With Homebrew:

  1. Install Homebrew from https://brew.sh (if not already installed).
  2. Install pkg-config using homebrew (if not already installed): $ brew install pkg-config
  3. Install singular:
    $ brew install singular
  4. Install this library: $ cabal update $ cabal install --lib singular-factory


On Debian:

  1. Install pkg-config (if not already installed): $ sudo apt install pkg-config
  2. Install libgmp-dev (required for hgmp): $ sudo apt install libgmp-dev
  3. Install singular: $ sudo apt install libmpfr-dev libntl-dev libflint-dev $ sudo apt install singular libsingular4-dev
  4. Install this library: $ cabal update $ cabal install --lib singular-factory

Other Linux distros:

It should be similar to the above: Install libsingular using your distro's package manager, and hope that pkg-config will give the necessary information to Cabal.


Unfortunately I couldn't make it work on Windows so far.

The primary problem is linking the cygwin-based Singular with the mingw-based GHC. If you have advice on how to achieve this, please contact me.