Commit Graph
2358 Commits
Author SHA1 Message Date
José Valim 7d26bfbfad Move remaining functions to elixir_env 2013-11-22 23:13:26 +01:00
José Valim 4e251b10b9 Move function definitions to new serialization schema 2013-11-22 22:56:08 +01:00
José Valim f8380e9dcd Get rid of unused _@MODULE var 2013-11-22 22:41:30 +01:00
José Valim c2243e2c28 Make module compilation work with elixir expressions 2013-11-22 21:41:59 +01:00
José Valim ffcde49975 Macro functions and macro macros to Macro.Env 2013-11-22 20:46:01 +01:00
José Valim 2655a318c2 Move some macros back to __op__ to work around bug in erl_eval 2013-11-22 15:42:12 +01:00
José Valim e553b6780b Convert bitwise 2013-11-22 14:41:50 +01:00
José Valim 398e0fd3fb Convert remaining operators 2013-11-22 14:39:11 +01:00
José Valim de3c0f639a Move more operators to Kernel 2013-11-22 13:44:37 +01:00
José Valim 1096cd00b9 Move arithmetic ops to Kernel 2013-11-22 13:29:02 +01:00
José Valim 260be7c8ea Start porting elixir_macros to pure elixir 2013-11-22 12:55:51 +01:00
José Valim a6c19950a0 Merge pull request #1878 from pminten/intersperse
Enum.intersperse, change to join
2013-11-21 04:53:02 -08:00
Peter Minten e1ff60a57d Add Enum.intersperse 2013-11-21 13:45:41 +01:00
José Valim 5d324c0a6f Mention File.open/2 modes in File.write/3 2013-11-21 13:11:35 +01:00
Eric Meadows-Jonsson fe3d1b1cfe Add Enum.reverse/2 2013-11-20 15:44:08 +01:00
José Valim 42c5b63ad7 Update typespecs in Inspect.Algebra 2013-11-19 10:34:35 +01:00
José Valim e65eee49c4 Make inspect in general 20% faster
There are two main optimizations:

1. We have optimized Module.concat/2 (it is roughly 100% faster)
2. We have optimized rendering of Inspect.Algebra by skipping
   the intermediate s_doc representation. This reduces memory
   allocation and skips one extra pass on rendering.
2013-11-19 10:21:31 +01:00
José Valim 75a1f2edbf Tidy up list docs 2013-11-18 12:07:57 +01:00
Alexei Sholik 4358386906 Implement List.delete_at 2013-11-18 12:53:54 +02:00
Eric Meadows-Jonsson 985ce8e031 Switch Enum.drop/take behaviour for negative counts 2013-11-16 23:01:25 +01:00
José Valim fa348e5027 iterate -> enumerate 2013-11-16 22:24:59 +01:00
José Valim cfa2aad8b4 Merge pull request #1868 from ericmj/typespecs
Add is_var/1 to typespecs and move guards to end of spec
2013-11-16 00:27:12 -08:00
Chris Keele 2b6b48688e Make surround_many accept an optional seperator per-invocation, or fall back to module attribute default. Passes tests+doc_tests. 2013-11-15 16:40:09 -06:00
Josh Adams 91d7fa1f9c Minor consistency update to Dict.values doc
Adds a period to the end of the first line in the doc, for consistency
with the rest of the module
2013-11-14 17:20:41 -06:00
José Valim c6a50d960e Improve coverage for streams with nested accs 2013-11-14 19:13:08 +01:00
José Valim bee44b382b Compose streams as we go and remove tuples nesting 2013-11-14 19:13:08 +01:00
Alexei Sholik 66019c36ca Fix the example for @before_compile hook 2013-11-13 15:10:18 +02:00
José Valim 572726cf65 Remove unecessary apply optimization 2013-11-12 14:29:17 +01:00
Eric Meadows-Jonsson f125d19854 Move typespec guards to end of spec
Moves precedence of `when` to be lower than `::`.
2013-11-11 10:08:24 +01:00
Eric Meadows-Jonsson 1ce2e24f5d Add is_var/1 for use in typespec guards
Allows you to specify a variable without any type contraints.
2013-11-11 10:08:24 +01:00
Chris Keele 4914c4982d s/wether/whether 2013-11-10 18:06:23 -06:00
parroty 4931629b51 Add :++, :-- and :** to Macro#binary_op_props 2013-11-10 22:25:42 +09:00
John Warwick e40375a65f underscorize unused argument 2013-11-06 14:11:30 -05:00
josephwilk d3a526ebf0 Improving docs on var!
Remove implementation details about variable name.
Try and make it clear it is just unquoting a var.
2013-11-06 18:25:04 +01:00
José Valim eb8fba694c Skip remote call on dict behaviour size 2013-11-06 16:21:49 +01:00
José Valim 0d3aa7fd66 Improve some Kernel error messages 2013-11-06 16:14:31 +01:00
José Valim 55ecdba77c Make test that changes global state sync 2013-11-06 15:00:00 +01:00
José Valim 4eb9cd3f59 Improve docs and error messages 2013-11-06 12:31:55 +01:00
José Valim 30b24b7e2d Merge pull request #1856 from ToJans/patch-1
Allow compilation in R17A
2013-11-05 12:33:30 -08:00
Eric Meadows-Jonsson d20190c99a Allow lower case escapes in URI
See RFC 2396 2.4.1
Closes #1857
2013-11-05 19:07:20 +01:00
Tom Janssens 57b5319ae8 Allow compilation in R17A
Allow elixir to be compiled using R17A as well
2013-11-05 15:15:51 +01:00
José Valim 94579848cc Move unicode from priv/ to unicode/ 2013-11-05 08:17:33 +01:00
José Valim e999642a8e Improve syntax error on invalid calls
Closes #1847
2013-11-04 12:32:17 +01:00
Yurii Rashkovskii a6410935c7 Remove some unused variables 2013-11-03 13:35:12 -08:00
José Valim 62780dc54a Simplify protocol code 2013-11-03 21:37:46 +01:00
José Valim dcf6ca1003 Ensure LexicalTracker doesn't fail accross lexical contexts 2013-11-03 18:02:03 +01:00
José Valim ac91c25e21 Merge pull request #1841 from tonini/compilation_status_parallel_compilation
use a separat compilation status per parallel compilation
2013-11-03 08:30:43 -08:00
Samuel Tonini 427e5ed712 use a separat compilation status per parallel compilation 2013-11-03 16:52:56 +01:00
José Valim 3d81da1951 Update String docs 2013-11-03 13:35:57 +01:00
José Valim 19e853e895 Remove more deprecated code 2013-11-03 12:56:02 +01:00