We're updating the issue view to help you get more done. 

Add docstrings for map and positional factory functions

Description

Imitate the docstring behavior seen in Clojure for defrecord and deftype synthetically generated constructor functions:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 user=> (defrecord Foo [x y]) user.Foo user=> (doc map->Foo) ------------------------- user/map->Foo ([m__7585__auto__]) Factory function for class user.Foo, taking a map of keywords to field values. nil user=> (doc ->Foo) ------------------------- user/->Foo ([x y]) Positional factory function for class user.Foo. nil user=> (deftype Bar [x]) user.Bar user=> (doc ->Bar) ------------------------- user/->Bar ([x]) Positional factory function for class user.Bar. nil

Environment

None

Status

Assignee

David Nolen

Reporter

Mike Fikes

Labels

Approval

Accepted

Patch

Code and Test

Affects versions

1.9.908

Priority

Major