Commit Graph
551 Commits
Author SHA1 Message Date
José Valim 315d5b5608 Merge pull request #1022 from ericmj/listat
Add List.insert_at/3 and List.delete_at/2
2013-05-06 18:52:23 -07:00
José Valim 5a9cb7970b Another attempt at fixing the build on R15 2013-05-06 15:52:14 -06:00
José Valim 45ad425793 Improve representation of floats and integers, closes #1021 2013-05-06 15:18:48 -06:00
Eric Meadows-Jonsson 3f73a73da1 Add List.insert_at/3 2013-05-06 22:41:05 +02:00
José Valim 1d2b4de7dd Add Dict.fetch 2013-05-06 13:31:58 -06:00
José Valim cbe82e0912 Add __DIR__, closes #1019 2013-05-06 11:03:37 -06:00
José Valim c53314dfc4 Ensure lexical scopes are not password forward by accident 2013-05-05 20:28:59 -06:00
José Valim 90093bd4e2 Support --cookie, --hidden, Node.get_cookie and Node.set_cookie, closes #910 2013-05-05 12:34:15 -06:00
José Valim a8ab6b5a2a Deprecate List.member?/2 in favor of Enum.member?/2 2013-05-05 10:10:03 -06:00
José Valim 5841f6849b Deprecate assert inlist in favor of assert in 2013-05-05 09:52:00 -06:00
José Valim 7d1a439e29 Keyword.keyword? should work with any atom as key
Closes #1011
2013-05-05 09:34:03 -06:00
José Valim 4b65fa1601 Merge pull request #1013 from ericmj/enumuniq
Add Enum.uniq/2
2013-05-05 08:21:09 -07:00
Eric Meadows-Jonsson 38539faaf4 Add Enum.uniq/2 2013-05-05 17:16:57 +02:00
José Valim a0787fb4bf Merge pull request #1009 from devinus/liberate-in
Liberate `in`, fixes #817
2013-05-03 14:26:40 -07:00
Devin Torres 901fedf266 Liberate in, fixes #817 2013-05-03 16:12:30 -05:00
Devin Torres 2f981b914d Add Enum.empty? and Enum.member? to the Enum.Iterator protocol, fixes #804 2013-05-03 14:29:57 -05:00
Yuki Ito 83c257937d Implement Enum.min/1 and Enum.min/2
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2013-05-02 12:03:56 -07:00
Yuki Ito 43f8448623 Implement Enum.max/1 and Enum.max/2
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2013-05-02 12:03:56 -07:00
Yuki Ito 3ddf8edc93 Add test for SyntaxError in Kernel.CLI 2013-05-02 16:27:44 +09:00
José Valim 6bf1d2b84d Merge pull request #998 from ericmj/inspect
Remove custom dispatch to records in Binary.Inspect.Tuple
2013-05-01 12:42:58 -07:00
Eric Meadows-Jonsson ee0643c17c Remove custom dispatch to records in Binary.Inspect.Tuple 2013-05-01 05:17:55 -07:00
José Valim 16e18240c6 Remove special case for implicit splicing inside quote 2013-05-01 00:29:40 -07:00
José Valim f484c9960f Add a test for inline keyword blocks 2013-04-30 23:34:24 -07:00
José Valim 35abb1d7ef Ensure we don't splice keyword args unecessarily, closes #989 2013-04-30 15:23:50 -07:00
meh 028421ffea Implement Enum.member? 2013-04-29 17:12:44 +02:00
José Valim ebb867d361 Merge pull request #983 from meh/enum-equal
More Enum.equal? stuff
2013-04-29 07:17:09 -07:00
José Valim 2e96d1de4d Ensure imports are passed around arg by arg, closes #990 2013-04-28 18:09:23 -07:00
José Valim f45dbea495 Merge pull request #980 from meh/dict-equal
Implement Dict.equal?
2013-04-27 21:39:03 -07:00
meh f76347235b Implement Dict.equal? 2013-04-27 22:33:39 +02:00
meh a13eaaf1c3 Implement Keyword.delete_first, closes #984 2013-04-27 21:15:16 +02:00
meh 01e848058a Implement Enum.equal? with equality callback 2013-04-27 19:21:18 +02:00
meh aad2d97baf Implement Enum.equal? 2013-04-26 18:28:48 +02:00
meh 8a4b550a90 Implement Enum.to_list, closes #977 2013-04-26 16:39:53 +02:00
José Valim 70432ca7f2 Remove deprecations 2013-04-20 19:22:13 -06:00
Yurii Rashkovskii 507fda525b Implement GenEvent.Behaviour 2013-04-16 10:26:42 -07:00
José Valim c125636535 Ensure the macro system respects imports hygiene, closes #875 2013-04-13 18:25:43 -07:00
José Valim 531bd8da0c Ensure hygiene also works with directl calls to Kernel.function 2013-04-13 17:19:19 -07:00
José Valim a4d8fc2893 Ensure hygiene applies to function and partial applications 2013-04-13 17:19:19 -07:00
José Valim f2e78d3d39 function(:is_atom, 1) is deprecated in favor of function(is_atom/1)
This is required so we can identity the proper function/arity
from quoting and properly hygienize function retrievals.
2013-04-13 17:19:19 -07:00
José Valim 5d1d3f23e9 Merge pull request #922 from bellthoven/fix_function_calls
Allow 'foo . (42)' calls
2013-04-12 18:44:29 -07:00
José Valim 4096b31cfe Ensure the proper scope is passed on args call, closes #949 2013-04-12 18:08:56 -07:00
José Valim d3238b8778 Merge pull request #870 from devinus/words-with-modifiers
Add support for %w and %W (words) sigils with return type modifiers
2013-04-11 22:45:50 -07:00
Yurii Rashkovskii 8d2034f07c Implement Record.import macro that allows using private macros on public records 2013-04-11 16:28:44 -07:00
Devin Torres b82b51a870 Add support for %w and %W (words) sigils with return type modifiers 2013-04-11 15:32:27 -05:00
Yurii Rashkovskii 26599e7812 Improve elixir application doctest coverage 2013-04-11 08:25:17 -07:00
José Valim 728d08c3bd Revert "Enum.split_while did not behave as advertised and provided the wrong API. Provide Enum.split_with instead"
This reverts commit 1ffda62f2e.
2013-04-11 08:08:01 -07:00
José Valim b9ef56df27 Merge pull request #859 from yrashk/insert-delete-element
Add insert_elem/3 and delete_elem/2 functions
2013-04-11 06:41:00 -07:00
José Valim 1ffda62f2e Enum.split_while did not behave as advertised and provided the wrong API. Provide Enum.split_with instead 2013-04-11 06:37:30 -07:00
Yurii Rashkovskii 0fad1883df Add insert_elem/3 and delete_elem/2 functions, deprecate setelem
in favour of set_elem

For Erlang versions prior to R16B, emulate corresponding BIFs
2013-04-11 05:11:23 -07:00
José Valim e412ce6b22 Can defined a nested module called Elixir, closes #858 2013-04-10 16:32:30 -07:00