Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-03 | Fix a qlc bug where filters were erroneously optimized away | Hans Bolinder | |
Thanks to Sam Bobroff for reporting the bug. | |||
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-01-25 | Update copyright years | Björn-Egil Dahlberg | |
2013-01-25 | Make adjustments for Unicode | Hans Bolinder | |
2013-01-09 | qlc: Remove support for packages | Björn Gustavsson | |
2012-01-27 | Move types and specs from erl_bif_types.erl to modules | Hans Bolinder | |
2011-05-12 | Types and specifications have been modified and added | Hans Bolinder | |
2010-02-12 | Merge branch 'ks/stdlib-cleanups' into ccase/r13b04_dev | Erlang/OTP | |
* ks/stdlib-cleanups: stdlib: clean up as suggested by tidier OTP-8435: ks/stdlib-cleanups | |||
2010-02-10 | stdlib: clean up as suggested by tidier | Kostis Sagonas | |
Hans Bolinder (the author/maintainer of qlc) prefers for readability reasons to use length/1 in a guard when it is known that the list is guaranteed to be short, so the change suggested by tidier for line 875 of qlc_pt has not been included. | |||
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |