monomer

A GUI library for writing native Haskell applications.

http://github.com/fjvallarino/monomer#readme

Version on this page:1.3.0.0@rev:3
LTS Haskell 22.44:1.6.0.1
Stackage Nightly 2023-12-26:1.6.0.0
Latest on Hackage:1.6.0.1

See all snapshots monomer appears in

BSD-3-Clause licensed by Francisco Vallarino
Maintained by [email protected]
This version can be pinned in stack with:monomer-1.3.0.0@sha256:82bb1ab764d0ff621073ddcea4d9b4fe56410977c819ffcec4a00d823817e1cb,16184

Module documentation for 1.3.0.0

Monomer

An easy to use, cross platform, GUI library for writing native Haskell applications.

It provides a framework similar to the Elm Architecture, allowing the creation of GUIs using an extensible set of widgets with pure Haskell.

Screenshot

Project’s screenshot

Objectives

  • Be easy to learn and use.
  • Be extensible with custom widgets.
  • Run on Windows, Linux and macOS.
  • Have good documentation.
  • Have good examples.

These are not objectives for this project

  • Have a native look and feel.

Why would you want to use this library?

  • You want to write your application in Haskell.
  • You want to write a native, not web based, application.

Documentation

Setup

You can read how to setup your environment here.

Tutorials

Introductory tutorials are available:

Examples

Beyond the tutorials, a few real world like examples are available:

Haddock

You can read the source code’s documentation here.

Design decisions

In case you wonder why some choices were made, you can read here.

Roadmap

  • Stability and performance.
  • Mobile support.

Contributing

PRs are welcome!

If possible, keep them small and focused. If you are planning on making a large change, please submit an issue first so we can agree on a solution.

Questions?

If you are not sure how something works or you have a usage question, feel free to open an issue!

License

This library is licensed under the BSD-3 license.

Fonts used in the examples:

Acknowledgments

  • Thanks to