Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src
.gitignore
Makefile
README.md

README.md

LightOO

A lightweight Object-Oriented programming library for Haskell.

The library is based on the "Mutable Objects, with tail-polymorphism" approach initially described by the authors of OOHaskell and it extends it with:

  • Generic up and downcasts using dynamic typing
  • An inheritance combinator W. Cook
  • Parameterized classes
  • CPP macros for deriving parts of the boilerplate

The OO programming techniques offered by the library were used to implement a subset of the wxWidgets design in Haskell. Please look inside the src/Examples directory for additional examples.

Usage GHC

make ghci 

or

make ghci MAIN=src/Examples/{One of the examples}

Usage UHC

Make sure the UHC environment variable points to your local UHC installation.

make 

or

make MAIN=src/Examples/{One of the examples}