Commit Graph
1285 Commits
Author SHA1 Message Date
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
Bryan Summersett 3f7dda69fb Fixing typo in docstring for List.keyfind 2013-04-30 19:22:03 -07:00
José Valim 35abb1d7ef Ensure we don't splice keyword args unecessarily, closes #989 2013-04-30 15:23:50 -07:00
José Valim 61727e5c5d Ensure do/else|*/end are inlinable, closes #966 2013-04-30 14:47:14 -07:00
José Valim f791bd117c Properly encode unicode binary chars, closes #961 2013-04-30 14:34:46 -07:00
José Valim 034cb18af8 Ensure IEx won't crash on bad error messages and invalid stacktraceqs, closes #974 2013-04-30 12:50:39 -07:00
Yurii Rashkovskii 1080e290a0 Remove unused variable warning in Enum 2013-04-29 09:54:05 -07:00
meh 028421ffea Implement Enum.member? 2013-04-29 17:12:44 +02:00
José Valim cebbbd5102 Remove short paths on Enum
They basically cost one local function call and
are rarely used (just when both iterators are empty)
2013-04-29 07:51:00 -07:00
José Valim 6619e3277e Define missing Kernel functions 2013-04-29 07:30:20 -07: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 77bde77d25 Calculate target just once 2013-04-28 18:17:29 -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 b5ab795cdc Clean up conversion to list 2013-04-28 18:09:23 -07:00
José Valim 7f9e95e223 Return nil from import 2013-04-28 18:09:23 -07:00
meh 90a9be6cce Return early in Dict.equal? if the dicts have different size 2013-04-28 16:05:08 +02: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
José Valim 2e26d17d83 Merge pull request #978 from meh/enum-equal
Implement Enum.equal?
2013-04-27 07:19:26 -07:00
Eric Meadows-Jonsson ae0a6cefd0 Improve flag error messages in CLI
Now consistent in error messages and tries to show as many error messages
as possible before exiting.
2013-04-26 17:23:18 -07:00
José Valim e9a91d1f7a Merge pull request #976 from ericmj/require
Flags -p and -pr fails if pattern match no files
2013-04-26 10:24:20 -07:00
Eric Meadows-Jonsson c37101a52c Flags -p and -pr fails if pattern match no files
Fixes #851
2013-04-26 10:15:07 -07: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
Eric Meadows-Jonsson 7bd288c7cb Dont swallow undef errors in Binary.Inspect
Fixes #960
2013-04-25 08:06:39 -07:00
José Valim 3e6e6ee99b Update exdoc links 2013-04-24 11:16:28 -06:00
José Valim ea29be40a4 Make it clear the current section in Typespec is about anonymous functions 2013-04-24 08:47:47 -06:00
Jeremy Huffman bf3dd3f265 add parens for function calls in examples 2013-04-23 23:07:41 -04:00
José Valim cd7879b1b9 Remove last use of eval in IO.ANSI 2013-04-21 22:11:27 -06:00
José Valim 160631b2d5 Revert "Use unquote instead of @ in HashDict"
Using @attributes is more readable.

This reverts commit 238e7f4bc2.
2013-04-21 22:08:27 -06:00
José Valim 87d57a38a3 Do not go through eval if there is nothing to evaluate 2013-04-21 18:03:09 -06:00
José Valim 907920de44 Unfold the loop manually 2013-04-21 17:24:24 -06:00
José Valim 53d34099f1 Optimize elixir_tree_helpers:abstract_syntax 2013-04-21 17:07:25 -06:00
José Valim 4c70f1b3cd Store clauses in a separate table (thanks to yrashk for first iteration of this patch) 2013-04-21 14:56:52 -06:00
José Valim 70432ca7f2 Remove deprecations 2013-04-20 19:22:13 -06:00
José Valim 0cab23e3e7 Get rid of eval on IO.ANSI 2013-04-20 19:07:40 -06:00
José Valim fd29173d6d Also dispatch to local macros 2013-04-16 12:09:38 -07:00
José Valim 963efc4593 Do not import IEx.Helpers since we delegate to them, closes, closes #957 2013-04-16 12:04:29 -07:00
Yurii Rashkovskii 507fda525b Implement GenEvent.Behaviour 2013-04-16 10:26:42 -07:00
José Valim c78c8ddf08 Improve some docs 2013-04-15 23:04:51 -07:00
Alexei Sholik 5b9c3e7aa6 Make Enum.Iterator's docstring more descriptive 2013-04-16 02:09:32 +03: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 b96c3c52ae Remove check_require in favor of a meta tag 2013-04-13 17:19:19 -07:00
José Valim 3f7b867740 Refactor elixir_dispatch to rely more on elixir_scope 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