[erlang-questions] Proposal: add lists:intersperse/2 and lists:intercalate/2
Wed Mar 2 21:05:12 CET 2016
On Wed, Mar 2, 2016 at 7:28 PM, Joe Armstrong <> wrote:
> Years ago I wanted to add a -needs(Vsn) annotation to module
> For example:
> Means would mean you need version 18 of erlang.
> That way if you added a needs annotation to the code that used the updated
> then an earlier version of Erlang could give a meaningfull diagnostic
> and not just
> crash when the encountering a function 'from the future'.
> Actually I had another problem today - a program I wrote in 2003 did not
> with the latest and greatest Erlang - not because the language had changed
> but because the library functions had been renamed and moved around.
> I guess a lint program would be useful here. It should be fairly
> doable to download
> all old erlangs and simple make lists of all the function names in all
> and do a bit of consistency checking.
One such tool is geas https://github.com/crownedgrouse/geas.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions