yazz.com
yazz.com

Reputation: 58786

How can I extend an object in Clojurescript?

I do not want to extend a class, just a one instance of a class with a protocol. is this possible?

Upvotes: 1

Views: 393

Answers (1)

Jared314
Jared314

Reputation: 5231

What you are describing sounds like the current proposal for specify! (JIRA and Design Document). So, it is currently not possible to extend a single instance with a protocol.

Upvotes: 2

Related Questions