José Valim
9c4c9e8bb0
Ensure there is no ambiguity in tuples
2012-07-18 20:57:07 +02:00
José Valim
742486d112
Do not convert underscores to defined arg
2012-07-18 12:58:23 +02:00
José Valim
a421a73abf
Clean up exunit server and exception docs
2012-07-18 11:54:27 +02:00
José Valim
bfddbd726a
Add mix shell to avoid noise in tests
2012-07-18 10:59:28 +02:00
José Valim
4b960a2114
Add compile meta task, move logic to compile.elixir
2012-07-18 10:20:28 +02:00
José Valim
c3d5611cc2
Improve docs for functions that return both binaries and char lists
2012-07-17 14:02:59 +02:00
José Valim
fea9455eb7
Add self() back since it is allowed in guard clauses
2012-07-17 13:49:34 +02:00
José Valim
fc3aa85d81
Add mix help
2012-07-16 15:29:29 +02:00
José Valim
6c5b3134af
Add function_exported?, improve warnings for behaviors
2012-07-16 15:29:29 +02:00
José Valim
29fe257442
Improve docs for d, make it easy to query builtin functions
2012-07-16 15:29:29 +02:00
José Valim
b15394ce22
More improvements to printed docs
2012-07-16 15:29:29 +02:00
José Valim
dca16fe966
Allow macros to be used in rescue clauses
2012-07-16 15:29:29 +02:00
José Valim
c186bb19df
Add d to print docs in IEx console, compile by default with docs
2012-07-16 15:29:29 +02:00
José Valim
cfe9b52485
Provide a parallel require that runs require in parallel
2012-07-16 15:29:28 +02:00
José Valim
2c396b9cc1
Make the default for ExUnit case to be sync
2012-07-16 15:29:28 +02:00
José Valim
98631ada7d
Make sure cp_rf also handles symlinks too
2012-07-16 15:29:28 +02:00
José Valim
b8c2705ea1
Ensure rm_rf does not follow symlinks
2012-07-16 15:29:28 +02:00
José Valim
35c8a17e8d
Avoid unix specific calls in tests
2012-07-16 15:29:28 +02:00
José Valim
23cd4ce28c
Add File.rm_rf
2012-07-16 15:29:28 +02:00
José Valim
bbd7960d78
Add rmdir, use path consistently in File
2012-07-16 15:29:28 +02:00
José Valim
7d5be8d093
Do not depend on the filesystem order
2012-07-16 15:29:27 +02:00
José Valim
d2f2d4ba20
Introduce File.CopyError, File.cp! and File.cp_r!
2012-07-16 15:29:27 +02:00
José Valim
7be9ba8585
Add File.cp and reorganize test cases a bit
2012-07-16 15:29:27 +02:00
José Valim
28ecab3dde
Support File.cp_r
2012-07-16 15:29:27 +02:00
José Valim
f756ce6077
Fix tests that were not using absolute paths
2012-07-16 15:29:27 +02:00
José Valim
f491ebb976
Support File.copy
2012-07-16 15:29:27 +02:00
José Valim
92fa624892
Support File.touch(!) and File.write_stat(!)
2012-07-16 15:29:27 +02:00
José Valim
e4176725ab
Add File.cwd/0, File.chdir/1 and File.chdir/2
2012-07-16 15:29:27 +02:00
José Valim
cea5a61ea2
Use a main fixture_path helper
2012-07-16 15:29:27 +02:00
José Valim
a458e0e43c
Allow File.open with a function
2012-07-16 15:29:27 +02:00
José Valim
4c099d6fc7
Document File.open
2012-07-16 15:29:27 +02:00
José Valim
59c38454c7
Refactor code now that we have local macros
2012-07-16 15:29:26 +02:00
José Valim
af6c593898
Refactor previous commit by moving the fix to cons_to_list
2012-07-13 08:50:55 +02:00
Yurii Rashkovskii
bb6562391e
Fixes a bug that broke the correct behavior of the in guard
...
The correct behavior is:
> [] in [1,2,3] == false
However, recently introduced bug made this work like this:
> [] in [1,2,3] == true
2012-07-12 17:29:13 -07:00
José Valim
139b203da2
Ops, fix types on function definitions
2012-07-12 16:28:37 +02:00
José Valim
770ac3249e
Document __block__, __scope__ and __aliases__ special forms
2012-07-12 16:25:43 +02:00
José Valim
e80286ce57
Remove remaining __MAIN__ from erlang code
2012-07-12 12:29:52 +02:00
José Valim
1b4603160c
Add elixir's parse transform to be used with erlang code
2012-07-12 11:29:46 +02:00
José Valim
a75b572134
Update master
2012-07-11 21:27:09 +03:00
José Valim
adcb8855d0
Provide Enum.nth! for now since we want to ensure we are on the proper bound
2012-07-11 19:51:22 +02:00
José Valim
d216dbbc1d
Ensure we are on master for docs generation
2012-07-11 13:02:50 +02:00
José Valim
ae4bbed5d0
Add Enum.nth, change IEx code to rely on it
2012-07-11 12:42:17 +02:00
José Valim
0252cd8b85
Break IEx into many files, move it to the root namespace
2012-07-11 12:11:51 +02:00
José Valim
01009507ab
Allow IEx to take control even when started without -noinput
2012-07-11 11:51:55 +02:00
José Valim
df2254f8a3
Pipeline op must be right associative
2012-07-11 11:48:38 +02:00
Yurii Rashkovskii
87ea150b81
Add very basic shell history support
2012-07-10 12:40:46 -07:00
Yurii Rashkovskii
4507f61cbc
Fixes specification for list_to_bitstring/1
2012-07-10 10:53:02 -07:00
José Valim
697e7ea5ac
Fix small doc type
2012-07-10 19:43:55 +02:00
José Valim
439971e5b1
Small fixes to typespecs
2012-07-10 19:39:43 +02:00
José Valim
b432e19149
Actually provide an implementation for erlang proxied functions
...
This makes three things possible:
1) @spec declarations are actually available in the Builtin module
2) Dynamic dispatch to Elixir.Builtin works as expected
3) At compilation time, the functions that are not dispatched
are still proxied to avoid an extra dispatch
2012-07-10 18:45:07 +02:00