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]


[Last Documentation]

  • Graphics
    • Graphics.Fig
      • Graphics.Fig.Parser
      • Graphics.Fig.Printer
      • Graphics.Fig.Syntax
      • Graphics.Fig.Values


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 2011-08-10T16:28:14Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2483 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-27 [all 7 reports]

Readme for fig-1.3.1

[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