logo
首页技术栈工具库讨论
dynamic-object

dynamic-object

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.
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
HACKAGE
carbal install dynamic-object
查看
标签
根据用户添加的标签生成
暂无标签