gtk2hs-rpn-0.2: gtk2hs-rpn.cabal
cabal-Version: >= 1.2
name: gtk2hs-rpn
version: 0.2
homepage: http://bitbucket.org/mauricio/gtk2hs-rpn
synopsis:
Adds a module to gtk2hs allowing layouts to be defined using
reverse polish notation.
description:
Adds a module "Graphics.UI.Gtk.Layout.Rpn" to @gtk2hs@. This
module defines a type @RPN@ for operators, which is an
instance of 'Data.Monoid.Monoid' class. You can combine those
operators using reverse polish notation, as made popular by,
say, HP calculators. There are operators for layout elements,
like expanders, panes, boxes and notebooks, and for a few
other widgets, like buttons and labels. You can also insert
any existing @gtk2hs@ widget in the stack.
build-type: Simple
license: LGPL
license-file: LICENSE
maintainer: Maurício CA <mauricio.antunes@gmail.com>
category: GUI
bug-reports: http://bitbucket.org/mauricio/gtk2hs-rpn/issues
Library
build-depends:
base >= 4 && < 5,
gtk >= 0.11 && < 0.12,
cairo >= 0.11 && < 0.12,
glib >= 0.11 && < 0.12,
mtl >= 1.1.0.2 && < 1.2
hs-source-dirs: src
extensions:
NoMonomorphismRestriction
ScopedTypeVariables
exposed-modules:
Graphics.UI.Gtk.Layout.Rpn
other-modules: RPN, Basic, CanBeCasted