The dynamic-object package

[ Tags: bsd3, data, library ] [ Propose Tags ]

This package aims to combine the merit of Haskell's open, strong type system with flexible Object-oriented programming found in dynamically-typed languages such as python or ruby.

Objects are implemented as Maps from method keys to values. Each key specifies its own value types. You can add new members at runtime, for any instances of the object (singleton class). At the same time, you have typed and runtime-error-free access to the members (duck typing).

See Data.Object.Dynamic.Examples.PointParticle for examples.


Versions,, 0.2,, 0.2.1
Dependencies base (>=4.5 && <5), containers (>=0.4), lens (>=, QuickCheck, text, transformers (>=0.3) [details]
License BSD3
Author Takayuki Muranushi
Category Data
Source repo head: git clone
Uploaded Thu Jan 10 10:52:15 UTC 2013 by TakayukiMuranushi
Distributions NixOS:0.2.1
Downloads 1887 total (22 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees