new module
Mats Cronqvist <[email protected]> Tue, 11 Mar 2008 20:45:35 +0100
| Newsgroups | gmane.comp.lang.erlang.distel.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format. --------------070703050302080505060005 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit fyi, as part of my quest to be able to read the OTP docs in emacs, i'm checking in a new module. works like this; 1> otp_doc:sig(lis). ["lists:all(Pred, List) -> bool()", "lists:any(Pred, List) -> bool()", "lists:append(List1, List2) -> List3", ...] 2> otp_doc:sig(li,fl). ["lib:flush_receive() -> void()", "lists:flatlength(DeepList) -> int()", "lists:flatmap(Fun, List1) -> List2", "lists:flatten(DeepList, Tail) -> List", "lists:flatten(DeepList) -> List"] 3> otp_doc:sig(li,fl,2). ["lists:flatmap(Fun, List1) -> List2", "lists:flatten(DeepList, Tail) -> List"] i.e. it returns a list of the signatures of the functions that are prefixed with the input MFA. it's not hooked up to emacs yet, but it's still pretty useful. mats --------------070703050302080505060005 Content-Type: text/x-vcard; charset=utf-8; name="mats_cronqvist.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mats_cronqvist.vcf" begin:vcard fn:Mats Cronqvist n:Cronqvist;Mats org:Kreditor Europe AB email;internet:[email protected] title:Senior Developer x-mozilla-html:FALSE version:2.1 end:vcard --------------070703050302080505060005 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --------------070703050302080505060005 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Distel-hackers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/distel-hackers --------------070703050302080505060005--