fig: Manipulation of FIG files

[ bsd3, graphics, library ] [ Propose Tags ]

The Fig library provides parsing and printing for the FIG 3.2 format (the format used by the Xfig drawing program) together with a simple facility for search-and-replace operations.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 1.3.0, 1.3.1, 1.4.0
Change log Changelog
Dependencies base (<5), containers, haskell98, parsec, pretty [details]
License BSD-3-Clause
Author Anders Lau Olsen
Maintainer Anders Lau Olsen <>
Category Graphics
Home page
Uploaded by AndersLauOlsen at 2010-11-09T14:27:56Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2484 total (7 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for fig-1.3.0

[back to package description]
This is the Haskell Fig library for parsing and manipulating Xfig

The library is provided as a Cabal package; it can be installed as

    runhaskell Setup.hs configure
    runhaskell Setup.hs build
    sudo runhaskell Setup.hs install

Packages such as parsec that the library depends on can be found in
the package repository (

To try out the library, edit the Main.hs file to suit your needs and
build the program with the following command:

    ghc --make Main.hs -o fig2fig

Feed a FIG file to the program and view the results:

    ./fig2fig < transitive.fig > out.fig
    xfig out.fig

For more information see