Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-02-14 | Fixed typos in lib/dialyzer | Andrew Dryga | |
2015-06-22 | fix errors caused by changed line numbers | Bruce Yinhe | |
2015-06-18 | Change license text to APLv2 | Bruce Yinhe | |
2013-12-12 | EEP 37: Funs with names | Anthony Ramine | |
This adds optional names to fun expressions. A named fun expression is parsed as a tuple `{named_fun,Loc,Name,Clauses}` in erl_parse. If a fun expression has a name, it must be present and be the same in every of its clauses. The function name shadows the environment of the expression shadowing the environment and it is shadowed by the environment of the clauses' arguments. An unused function name triggers a warning unless it is prefixed by _, just as every variable. Variable _ is allowed as a function name. It is not an error to put a named function in a record field default value. When transforming to Core Erlang, the named fun Fun is changed into the following expression: letrec 'Fun'/Arity = fun (Args) -> let <Fun> = 'Fun'/Arity in Case in 'Fun'/Arity where Args is the list of arguments of 'Fun'/Arity and Case the Core Erlang expression corresponding to the clauses of Fun. This transformation allows us to entirely skip any k_var to k_local transformation in the fun's clauses bodies. | |||
2013-10-14 | Merge branch 'maint' | Fredrik Gustafsson | |
2013-09-12 | Remove ^L characters hidden randomly in the code. Not those used in text ↵ | Pierre Fenoll | |
files as delimiters. While working on a tool that processes Erlang code and testing it against this repo, I found out about those little sneaky 0xff. I thought it may be of help to other people build such tools to remove non-conforming-to-standard characters. | |||
2013-04-19 | Remove the "coding: utf-8" comment from all Erlang source files | Hans Bolinder | |
2013-01-11 | Cope with removed support for packages | Björn Gustavsson | |
Packages were removed in 34d865a7dfdb33ee1e69fc28885f68baeeadfd98. | |||
2013-01-09 | Prepare OTP files for Unicode as default encoding | Hans Bolinder | |
2011-05-04 | Rename suite data directories | Stavros Aronis | |