Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update to v0.7.2

  • Loading branch information...
commit fc7f55cde7a97a3f48ceb3b9978a7bdb149d4333 1 parent c3d5da5
José Valim josevalim authored
Showing with 3,276 additions and 1,698 deletions.
  1. +10 −10 docs/master/ArgumentError.html
  2. +10 −10 docs/master/ArithmeticError.html
  3. +14 −14 docs/master/BadArityError.html
  4. +11 −11 docs/master/BadFunctionError.html
  5. +13 −2 docs/master/Behaviour.html
  6. +11 −11 docs/master/CaseClauseError.html
  7. +17 −17 docs/master/CompileError.html
  8. +1 −1  docs/master/Enum.Iterator.Function.html
  9. +1 −1  docs/master/Enum.Iterator.List.html
  10. +10 −10 docs/master/Enum.OutOfBoundsError.html
  11. +83 −49 docs/master/Enum.html
  12. +11 −11 docs/master/ErlangError.html
  13. +12 −12 docs/master/ExUnit.Assertions.html
  14. +15 −3 docs/master/ExUnit.html
  15. +16 −4 docs/master/Exception.html
  16. +53 −18 docs/master/File.html
  17. +17 −17 docs/master/FunctionClauseError.html
  18. +36 −56 docs/master/IEx.Helpers.html
  19. +21 −71 docs/master/IEx.html
  20. +93 −0 docs/master/Kernel.CLI.html
  21. +2 −2 docs/master/Kernel.SpecialForms.html
  22. +108 −29 docs/master/Kernel.Typespec.html
  23. +185 −122 docs/master/Kernel.html
  24. +11 −11 docs/master/KeyError.html
  25. +3 −84 docs/master/List.html
  26. +43 −10 docs/master/Macro.html
  27. +11 −11 docs/master/MatchError.html
  28. +50 −0 docs/master/Mix.Error.html
  29. +50 −0 docs/master/Mix.InvalidTaskError.html
  30. +50 −0 docs/master/Mix.NoProjectError.html
  31. +50 −0 docs/master/Mix.NoTaskError.html
  32. +61 −11 docs/master/Mix.OutOfDateDepsError.html
  33. +16 −3 docs/master/Mix.Shell.IO.html
  34. +17 −6 docs/master/Mix.Shell.Process.html
  35. +23 −0 docs/master/Mix.Shell.html
  36. +9 −1 docs/master/Mix.Tasks.Run.html
  37. +20 −20 docs/master/Module.html
  38. +14 −14 docs/master/Protocol.UndefinedError.html
  39. +4 −4 docs/master/Record.html
  40. +1 −1  docs/master/Regex.html
  41. +10 −10 docs/master/RuntimeError.html
  42. +78 −29 docs/master/String.html
  43. +17 −17 docs/master/SyntaxError.html
  44. +13 −13 docs/master/System.html
  45. +10 −10 docs/master/SystemLimitError.html
  46. +17 −17 docs/master/TokenMissingError.html
  47. +2 −2 docs/master/URI.html
  48. +17 −17 docs/master/UndefinedFunctionError.html
  49. +149 −75 docs/master/modules_list.html
  50. +1 −1  docs/master/protocols_list.html
  51. +141 −1 docs/master/records_list.html
  52. +10 −10 docs/stable/ArgumentError.html
  53. +10 −10 docs/stable/ArithmeticError.html
  54. +14 −14 docs/stable/BadArityError.html
  55. +11 −11 docs/stable/BadFunctionError.html
  56. +13 −2 docs/stable/Behaviour.html
  57. +11 −11 docs/stable/CaseClauseError.html
  58. +17 −17 docs/stable/CompileError.html
  59. +1 −1  docs/stable/Enum.Iterator.Function.html
  60. +1 −1  docs/stable/Enum.Iterator.List.html
  61. +10 −10 docs/stable/Enum.OutOfBoundsError.html
  62. +83 −49 docs/stable/Enum.html
  63. +11 −11 docs/stable/ErlangError.html
  64. +12 −12 docs/stable/ExUnit.Assertions.html
  65. +15 −3 docs/stable/ExUnit.html
  66. +16 −4 docs/stable/Exception.html
  67. +53 −18 docs/stable/File.html
  68. +17 −17 docs/stable/FunctionClauseError.html
  69. +36 −56 docs/stable/IEx.Helpers.html
  70. +21 −71 docs/stable/IEx.html
  71. +93 −0 docs/stable/Kernel.CLI.html
  72. +2 −2 docs/stable/Kernel.SpecialForms.html
  73. +108 −29 docs/stable/Kernel.Typespec.html
  74. +185 −122 docs/stable/Kernel.html
  75. +11 −11 docs/stable/KeyError.html
  76. +3 −84 docs/stable/List.html
  77. +43 −10 docs/stable/Macro.html
  78. +11 −11 docs/stable/MatchError.html
  79. +50 −0 docs/stable/Mix.Error.html
  80. +50 −0 docs/stable/Mix.InvalidTaskError.html
  81. +50 −0 docs/stable/Mix.NoProjectError.html
  82. +50 −0 docs/stable/Mix.NoTaskError.html
  83. +61 −11 docs/stable/Mix.OutOfDateDepsError.html
  84. +16 −3 docs/stable/Mix.Shell.IO.html
  85. +17 −6 docs/stable/Mix.Shell.Process.html
  86. +23 −0 docs/stable/Mix.Shell.html
  87. +9 −1 docs/stable/Mix.Tasks.Run.html
  88. +20 −20 docs/stable/Module.html
  89. +14 −14 docs/stable/Protocol.UndefinedError.html
  90. +4 −4 docs/stable/Record.html
  91. +1 −1  docs/stable/Regex.html
  92. +10 −10 docs/stable/RuntimeError.html
  93. +78 −29 docs/stable/String.html
  94. +17 −17 docs/stable/SyntaxError.html
  95. +13 −13 docs/stable/System.html
  96. +10 −10 docs/stable/SystemLimitError.html
  97. +17 −17 docs/stable/TokenMissingError.html
  98. +2 −2 docs/stable/URI.html
  99. +17 −17 docs/stable/UndefinedFunctionError.html
  100. +149 −75 docs/stable/modules_list.html
  101. +1 −1  docs/stable/protocols_list.html
  102. +141 −1 docs/stable/records_list.html
20 docs/master/ArgumentError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
@@ -110,55 +110,55 @@
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/2">
<strong>message(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/1">
<strong>new(opts)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="to_keywords/1">
<strong>to_keywords(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update/2">
<strong>update(keywords, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_message/2">
<strong>update_message(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L137" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L156" target="_blank" class="view_source">Source</a>
</div>
</div>
20 docs/master/ArithmeticError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
@@ -110,55 +110,55 @@
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/2">
<strong>message(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/1">
<strong>new(opts)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="to_keywords/1">
<strong>to_keywords(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update/2">
<strong>update(keywords, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_message/2">
<strong>update_message(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L138" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L157" target="_blank" class="view_source">Source</a>
</div>
</div>
28 docs/master/BadArityError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
@@ -136,79 +136,79 @@
<strong>args(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="args/2">
<strong>args(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/1">
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="function/1">
<strong>function(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="function/2">
<strong>function(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(exception)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/1">
<strong>new(opts)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="to_keywords/1">
<strong>to_keywords(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update/2">
<strong>update(keywords, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_args/2">
<strong>update_args(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_function/2">
<strong>update_function(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L177" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L196" target="_blank" class="view_source">Source</a>
</div>
</div>
22 docs/master/BadFunctionError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
@@ -115,61 +115,61 @@
<strong>actual(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="actual/2">
<strong>actual(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/1">
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(exception)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L160" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L179" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/1">
<strong>new(opts)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="to_keywords/1">
<strong>to_keywords(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update/2">
<strong>update(keywords, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_actual/2">
<strong>update_actual(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L159" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L178" target="_blank" class="view_source">Source</a>
</div>
</div>
15 docs/master/Behaviour.html
View
@@ -39,10 +39,10 @@
use Behaviour
@doc &quot;Parses the given URL&quot;
- defcallback parse(uri_info :: URI.Info.t), do: URI.Info.t
+ defcallback parse(uri_info :: URI.Info.t) :: URI.Info.t
@doc &quot;Defines a default port&quot;
- defcallback default_port(), do: integer
+ defcallback default_port() :: integer
end
</code></pre>
@@ -86,6 +86,11 @@
<ul class="summary">
<li>
<span class="summary_signature">
+ <a href="#defcallback/1">defcallback/1</a>
+ </span>
+</li>
+<li>
+ <span class="summary_signature">
<a href="#defcallback/2">defcallback/2</a>
</span>
</li>
@@ -101,6 +106,12 @@
<div id="macros_details" class="details_list">
<h2>Macros</h2>
<div class="detail">
+ <p class="signature" id="defcallback/1">
+ <strong>defcallback(fun)</strong>
+ </p>
+ <div class="docstring"></div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/behaviour.ex#L53" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
<p class="signature" id="defcallback/2">
<strong>defcallback(fun, list2)</strong>
</p>
22 docs/master/CaseClauseError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
@@ -115,61 +115,61 @@
<strong>actual(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="actual/2">
<strong>actual(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/1">
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(exception)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L191" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/1">
<strong>new(opts)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="to_keywords/1">
<strong>to_keywords(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update/2">
<strong>update(keywords, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_actual/2">
<strong>update_actual(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L171" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L190" target="_blank" class="view_source">Source</a>
</div>
</div>
34 docs/master/CompileError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
@@ -157,97 +157,97 @@
<strong>description(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="description/2">
<strong>description(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/1">
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="file/1">
<strong>file(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="file/2">
<strong>file(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="line/1">
<strong>line(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="line/2">
<strong>line(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(exception)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L154" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L173" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/1">
<strong>new(opts)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="to_keywords/1">
<strong>to_keywords(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update/2">
<strong>update(keywords, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_description/2">
<strong>update_description(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_file/2">
<strong>update_file(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_line/2">
<strong>update_line(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L153" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L172" target="_blank" class="view_source">Source</a>
</div>
</div>
2  docs/master/Enum.Iterator.Function.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L1371" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L1628" target="_blank" class="view_source">Source</a>
2  docs/master/Enum.Iterator.List.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L1366" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L1623" target="_blank" class="view_source">Source</a>
20 docs/master/Enum.OutOfBoundsError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
@@ -110,55 +110,55 @@
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/2">
<strong>message(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/1">
<strong>new(opts)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="to_keywords/1">
<strong>to_keywords(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update/2">
<strong>update(keywords, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_message/2">
<strong>update_message(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L226" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L245" target="_blank" class="view_source">Source</a>
</div>
</div>
132 docs/master/Enum.html
View
@@ -153,17 +153,22 @@
</li>
<li>
<span class="summary_signature">
- <a href="#qsort/1">qsort/1</a>
+ <a href="#reduce/3">reduce/3</a>
</span>
</li>
<li>
<span class="summary_signature">
- <a href="#reduce/3">reduce/3</a>
+ <a href="#reverse/1">reverse/1</a>
</span>
</li>
<li>
<span class="summary_signature">
- <a href="#reverse/1">reverse/1</a>
+ <a href="#sort/1">sort/1</a>
+ </span>
+</li>
+<li>
+ <span class="summary_signature">
+ <a href="#sort/2">sort/2</a>
</span>
</li>
<li>
@@ -188,6 +193,11 @@
</li>
<li>
<span class="summary_signature">
+ <a href="#uniq/1">uniq/1</a>
+ </span>
+</li>
+<li>
+ <span class="summary_signature">
<a href="#zip/2">zip/2</a>
</span>
</li>
@@ -204,9 +214,7 @@
<h2>Functions</h2>
<div class="detail">
<p class="signature" id="all?/2">
- <strong>all?(collection, fun // fn x -&gt;
- x
-end)</strong>
+ <strong>all?(collection, fun // fn x -&gt; x end)</strong>
</p>
<div class="docstring"><p>Invokes the given <code>fun</code> for each item in the <code>collection</code> and returns true if
each invocation returns true as well, otherwise it short-circuits and returns
@@ -231,9 +239,7 @@
<a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L97" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="any?/2">
- <strong>any?(collection, fun // fn x -&gt;
- x
-end)</strong>
+ <strong>any?(collection, fun // fn x -&gt; x end)</strong>
</p>
<div class="docstring"><p>Invokes the given <code>fun</code> for each item in the <code>collection</code> and returns true if
at least one invocation returns true. Returns false otherwise.</p>
@@ -296,8 +302,8 @@
<p class="signature" id="drop/2">
<strong>drop(collection, count)</strong>
</p>
- <div class="docstring"><p>Drops the first <code>count</code> items from the collection. Expects an ordered
-collection.</p>
+ <div class="docstring"><p>Drops the first <code>count</code> items from the collection.
+Expects an ordered collection.</p>
<h2>Examples</h2>
@@ -320,7 +326,7 @@
#=&gt; [3,4,5]
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L233" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L247" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="each/2">
<strong>each(collection, fun)</strong>
@@ -333,7 +339,7 @@
<pre><code>Enum.each [&#39;some&#39;, &#39;example&#39;], fn(x) -&gt; IO.puts x end
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L256" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L270" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="empty?/1">
<strong>empty?(collection)</strong>
@@ -346,7 +352,7 @@
Enum.empty? [1,2,3] #=&gt; false
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L281" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L295" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="filter/2">
<strong>filter(collection, fun)</strong>
@@ -360,7 +366,7 @@
#=&gt; [2]
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L303" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L317" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="filter_map/3">
<strong>filter_map(collection, filter, mapper)</strong>
@@ -373,7 +379,7 @@
#=&gt; [4]
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L326" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L340" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="find/3">
<strong>find(collection, ifnone // nil, fun)</strong>
@@ -393,7 +399,7 @@
#=&gt; 3
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L358" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L372" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="find_index/2">
<strong>find_index(collection, fun)</strong>
@@ -412,7 +418,7 @@
#=&gt; 2
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L420" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L434" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="find_value/3">
<strong>find_value(collection, ifnone // nil, fun)</strong>
@@ -429,7 +435,7 @@
#=&gt; true
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L389" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L403" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="first/1">
<strong>first(collection)</strong>
@@ -442,7 +448,7 @@
Enum.first [1,2,3] #=&gt; 1
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L443" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L457" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="join/2">
<strong>join(collection, joiner // &quot;&quot;)</strong>
@@ -463,7 +469,7 @@
Enum.join([1,2,3], &#39; = &#39;) #=&gt; &#39;1 = 2 = 3&#39;
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L473" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L487" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="map/2">
<strong>map(collection, fun)</strong>
@@ -481,7 +487,7 @@
#=&gt; [a: -1, b: -2]
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L507" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L521" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="map_join/3">
<strong>map_join(collection, joiner // &quot;&quot;, mapper)</strong>
@@ -502,7 +508,7 @@
Enum.map_join([1,2,3], &#39; = &#39;, &amp;1 * 2) #=&gt; &#39;2 = 4 = 6&#39;
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L539" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L553" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="map_reduce/3">
<strong>map_reduce(collection, acc, f)</strong>
@@ -521,7 +527,7 @@
#=&gt; { [2, 4, 6], 6 }
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L574" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L588" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="partition/2">
<strong>partition(collection, fun)</strong>
@@ -536,19 +542,7 @@
#=&gt; { [2], [1,3] }
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L599" target="_blank" class="view_source">Source</a>
-</div><div class="detail">
- <p class="signature" id="qsort/1">
- <strong>qsort(collection)</strong>
- </p>
- <div class="docstring"><p>Sorts the collection according to the quick sort algorithm.</p>
-
-<h2>Examples</h2>
-
-<pre><code>Enum.qsort [3,2,1] #=&gt; [1,2,3]
-</code></pre>
-</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L667" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L613" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="reduce/3">
<strong>reduce(collection, acc, fun)</strong>
@@ -563,7 +557,7 @@
#=&gt; 6
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L624" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L638" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="reverse/1">
<strong>reverse(collection)</strong>
@@ -576,16 +570,43 @@
#=&gt; [3, 2, 1]
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L647" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L661" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
+ <p class="signature" id="sort/1">
+ <strong>sort(collection)</strong>
+ </p>
+ <div class="docstring"><p>Sorts the collection using the merge sort algorithm.</p>
+
+<h2>Examples</h2>
+
+<pre><code>Enum.sort [3,2,1] #=&gt; [1,2,3]
+</code></pre>
+</div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L698" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
+ <p class="signature" id="sort/2">
+ <strong>sort(collection, fun)</strong>
+ </p>
+ <div class="docstring"><p>Sorts the collection using the merge sort algorithm.</p>
+
+<h2>Examples</h2>
+
+<pre><code>Enum.sort [3,2,1], &amp;1 &gt; &amp;2 #=&gt; [1,2,3]
+</code></pre>
+</div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L720" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="split/2">
<strong>split(collection, count)</strong>
</p>
- <div class="docstring"><p>Splits the enumerable into two collections, leaving <code>count</code> elements in the
-first one. If <code>count</code> is a negative number, it starts couting from the back
-to the beginning of the collection. Be aware that a negative <code>count</code>
-implies in an iteration through the whole collection.
-Expects an ordered collection.</p>
+ <div class="docstring"><p>Splits the enumerable into two collections, leaving <code>count</code>
+elements in the first one. If <code>count</code> is a negative number,
+it starts couting from the back to the beginning of the
+collection.</p>
+
+<p>Be aware that a negative <code>count</code> implies the collection
+will be iterate twice. One to calculate the position and
+another one to do the actual splitting.</p>
<h2>Examples</h2>
@@ -596,7 +617,7 @@
Enum.split [1,2,3], -5 #=&gt; { [], [1,2,3] }
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L697" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L753" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="split_while/2">
<strong>split_while(collection, fun)</strong>
@@ -610,7 +631,7 @@
#=&gt; { [1], [2, 3, 4] }
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L727" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L781" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="take/2">
<strong>take(collection, count)</strong>
@@ -625,7 +646,7 @@
Enum.take [1,2,3], 0 #=&gt; []
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L752" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L806" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="take_while/2">
<strong>take_while(collection, fun)</strong>
@@ -639,7 +660,20 @@
#=&gt; [1, 2]
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L767" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L835" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
+ <p class="signature" id="uniq/1">
+ <strong>uniq(collection)</strong>
+ </p>
+ <div class="docstring"><p>Iterates the enumerable removing all duplicated items.</p>
+
+<h2>Examples</h2>
+
+<pre><code>Enum.uniq [1,2,3,2,1]
+#=&gt; [1, 2, 3]
+</code></pre>
+</div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L858" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="zip/2">
<strong>zip(coll1, coll2)</strong>
@@ -649,7 +683,7 @@
dictated by the first enum. In case the second list is shorter,
values are filled with nil.</p>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L805" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/enum.ex#L878" target="_blank" class="view_source">Source</a>
</div>
</div>
22 docs/master/ErlangError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
@@ -115,61 +115,61 @@
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(exception)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L215" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L234" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/1">
<strong>new(opts)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="original/1">
<strong>original(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="original/2">
<strong>original(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="to_keywords/1">
<strong>to_keywords(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update/2">
<strong>update(keywords, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="update_original/2">
<strong>update_original(function, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L214" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L233" target="_blank" class="view_source">Source</a>
</div>
</div>
24 docs/master/ExUnit.Assertions.html
View
@@ -153,7 +153,7 @@
<pre><code>assert false, &quot;it will never be true&quot;
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L175" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L194" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="assert_in_delta/4">
<strong>assert_in_delta(expected, received, delta, message // nil)</strong>
@@ -166,7 +166,7 @@
assert_in_delta 10, 15, 4
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L262" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L281" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="assert_raise/2">
<strong>assert_raise(exception, function)</strong>
@@ -181,7 +181,7 @@
end
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L236" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L255" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="assert_raise/3">
<strong>assert_raise(exception, message, function)</strong>
@@ -196,7 +196,7 @@
end
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L219" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L238" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="flunk/1">
<strong>flunk(message // &quot;Epic Fail!&quot;)</strong>
@@ -208,7 +208,7 @@
<pre><code>flunk &quot;This should raise an error&quot;
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L385" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L404" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="refute/2">
<strong>refute(not_expected, message)</strong>
@@ -221,7 +221,7 @@
<pre><code>refute true, &quot;This will obviously fail&quot;
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L330" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L349" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="refute_in_delta/4">
<strong>refute_in_delta(expected, received, delta, message // nil)</strong>
@@ -234,7 +234,7 @@
refute_in_delta 10, 11, 2
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L368" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L387" target="_blank" class="view_source">Source</a>
</div>
</div>
@@ -282,7 +282,7 @@
assert_received { :hello, _ }
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="catch_error/1">
<strong>catch_error(expression)</strong>
@@ -295,7 +295,7 @@
<pre><code>assert catch_error(error 1) == 1
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L304" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L323" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="catch_exit/1">
<strong>catch_exit(expression)</strong>
@@ -308,7 +308,7 @@
<pre><code>assert catch_exit(exit 1) == 1
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L291" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L310" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="catch_throw/1">
<strong>catch_throw(expression)</strong>
@@ -321,7 +321,7 @@
<pre><code>assert catch_throw(throw 1) == 1
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L278" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L297" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="refute/1">
<strong>refute(expected)</strong>
@@ -352,7 +352,7 @@
refute_received :bye
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L346" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit/assertions.ex#L365" target="_blank" class="view_source">Source</a>
</div>
</div>
18 docs/master/ExUnit.html
View
@@ -98,6 +98,11 @@
<a href="#start/1">start/1</a>
</span>
</li>
+<li>
+ <span class="summary_signature">
+ <a href="#user_options/1">user_options/1</a>
+ </span>
+</li>
</ul>
@@ -116,7 +121,7 @@
<div class="docstring"><p>Register a callback to be invoked every time a
new ExUnit process is spawned.</p>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit.ex#L107" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit.ex#L115" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="configure/1">
<strong>configure(options)</strong>
@@ -132,7 +137,7 @@
<li><code>:max_cases</code> - Maximum number of cases to run in parallel</li>
</ul>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit.ex#L99" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit.ex#L107" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="run/0">
<strong>run()</strong>
@@ -140,7 +145,7 @@
<div class="docstring"><p>API used to run the tests. A developer does not
need to call it directly.</p>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit.ex#L115" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit.ex#L123" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="start/1">
<strong>start(options // [])</strong>
@@ -168,6 +173,13 @@
<p>[formatter: ExUnit.Formatter.ANSI]</p>
</div>
<a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit.ex#L64" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
+ <p class="signature" id="user_options/1">
+ <strong>user_options(user_config // nil)</strong>
+ </p>
+ <div class="docstring"><p>Returns the configured user options.</p>
+</div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/ex_unit/lib/ex_unit.ex#L82" target="_blank" class="view_source">Source</a>
</div>
</div>
20 docs/master/Exception.html
View
@@ -44,6 +44,11 @@
<ul class="summary">
<li>
<span class="summary_signature">
+ <a href="#env_stacktrace/1">env_stacktrace/1</a>
+ </span>
+</li>
+<li>
+ <span class="summary_signature">
<a href="#format_file_line/1">format_file_line/1</a>
</span>
</li>
@@ -79,20 +84,27 @@
<div id="functions_details" class="details_list">
<h2>Functions</h2>
<div class="detail">
+ <p class="signature" id="env_stacktrace/1">
+ <strong>env_stacktrace(env)</strong>
+ </p>
+ <div class="docstring"><p>Returns a formatted stacktrace from the environment.</p>
+</div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L105" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
<p class="signature" id="format_file_line/1">
<strong>format_file_line(file_line)</strong>
</p>
<div class="docstring"><p>Formats file and line information present in stacktraces.
Expect them to be given in a keyword list.</p>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L107" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L126" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="format_file_line/2">
<strong>format_file_line(file, line)</strong>
</p>
<div class="docstring"><p>Formats the given file and line.</p>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L114" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L133" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="format_module_fun_arity/3">
<strong>format_module_fun_arity(module, fun, arity)</strong>
@@ -108,10 +120,10 @@
</p>
<div class="docstring"><p>Formats each line in the stacktrace.</p>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L99" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L118" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="formatted_stacktrace/1">
- <strong>formatted_stacktrace(trace // System.stacktrace())</strong>
+ <strong>formatted_stacktrace(trace // nil)</strong>
</p>
<div class="docstring"><p>Returns the stacktrace as a binary formatted as per <code>format_stacktrace/1</code>.</p>
</div>
71 docs/master/File.html
View
@@ -99,6 +99,21 @@
</li>
<li>
<span class="summary_signature">
+ <a href="#biniterator/1">biniterator/1</a>
+ </span>
+</li>
+<li>
+ <span class="summary_signature">
+ <a href="#biniterator/2">biniterator/2</a>
+ </span>
+</li>
+<li>
+ <span class="summary_signature">
+ <a href="#biniterator!/2">biniterator!/2</a>
+ </span>
+</li>
+<li>
+ <span class="summary_signature">
<a href="#cd/1">cd/1</a>
</span>
</li>
@@ -414,6 +429,32 @@
</div>
<a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L224" target="_blank" class="view_source">Source</a>
</div><div class="detail">
+ <p class="signature" id="biniterator/1">
+ <strong>biniterator(device)</strong>
+ </p>
+ <div class="docstring"><p>Converts the file device into an iterator that can
+be passed into <code>Enum</code> to iterate line by line as a
+binary. Check <code>iterator/1</code> for more information.</p>
+</div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1224" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
+ <p class="signature" id="biniterator/2">
+ <strong>biniterator(file, mode)</strong>
+ </p>
+ <div class="docstring"><p>Opens the given <code>file</code> with the given <code>mode</code> and
+returns its biniterator. Fails for the same reasons
+as <code>File.open</code>.</p>
+</div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1252" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
+ <p class="signature" id="biniterator!/2">
+ <strong>biniterator!(file, mode // [])</strong>
+ </p>
+ <div class="docstring"><p>Same as <code>biniterator/2</code> but raises if the file
+cannot be opened.</p>
+</div>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1263" target="_blank" class="view_source">Source</a>
+</div><div class="detail">
<p class="signature" id="cd/1">
<strong>cd(path)</strong>
</p>
@@ -481,9 +522,7 @@
<a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L583" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="cp/3">
- <strong>cp(source, destination, callback // fn _, _ -&gt;
- true
-end)</strong>
+ <strong>cp(source, destination, callback // fn _, _ -&gt; true end)</strong>
</p>
<div class="docstring"><p>Copies the contents in <code>source</code> to <code>destination</code>.
Similar to the command <code>cp -r</code> in Unix systems,
@@ -506,9 +545,7 @@
<a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L611" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="cp!/3">
- <strong>cp!(source, destination, callback // fn _, _ -&gt;
- true
-end)</strong>
+ <strong>cp!(source, destination, callback // fn _, _ -&gt; true end)</strong>
</p>
<div class="docstring"><p>The same as <code>cp/3</code>, but raises File.CopyError if it fails.
Returns the list of copied files otherwise.</p>
@@ -516,9 +553,7 @@
<a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L634" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="cp_r/3">
- <strong>cp_r(source, destination, callback // fn _, _ -&gt;
- true
-end)</strong>
+ <strong>cp_r(source, destination, callback // fn _, _ -&gt; true end)</strong>
</p>
<div class="docstring"><p>Copies the contents in source to destination.
Similar to the command <code>cp -r</code> in Unix systems,
@@ -568,9 +603,7 @@
<a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L689" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="cp_r!/3">
- <strong>cp_r!(source, destination, callback // fn _, _ -&gt;
- true
-end)</strong>
+ <strong>cp_r!(source, destination, callback // fn _, _ -&gt; true end)</strong>
</p>
<div class="docstring"><p>The same as <code>cp_r/3</code>, but raises File.CopyError if it fails.
Returns the list of copied files otherwise.</p>
@@ -693,10 +726,12 @@
<p class="signature" id="iterator/1">
<strong>iterator(device)</strong>
</p>
- <div class="docstring"><p>Convert the file device into an iterator that can be
+ <div class="docstring"><p>Converts the file device into an iterator that can be
passed into <code>Enum</code>. The device is iterated line
-by line lazily, at the end of iteration the file is
-closed.</p>
+by line, at the end of iteration the file is closed.</p>
+
+<p>This reads the file as utf-8. CHeck out <code>File.biniterator</code>
+to handle the file as a raw binary.</p>
<h2>Examples</h2>
@@ -712,7 +747,7 @@
end
</code></pre>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1174" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1176" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="iterator/2">
<strong>iterator(file, mode)</strong>
@@ -721,7 +756,7 @@
returns its iterator. Fails for the same reasons
as <code>File.open</code>.</p>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1210" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1204" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="iterator!/2">
<strong>iterator!(file, mode // [])</strong>
@@ -729,7 +764,7 @@
<div class="docstring"><p>Same as <code>iterator/2</code> but raises if the file
cannot be opened.</p>
</div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1221" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/file.ex#L1215" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="join/1">
<strong>join(paths)</strong>
34 docs/master/FunctionClauseError.html
View
@@ -29,7 +29,7 @@
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
@@ -157,97 +157,97 @@
<strong>arity(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="arity/2">
<strong>arity(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/1">
<strong>exception(args)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="exception/2">
<strong>exception(args, self)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="function/1">
<strong>function(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="function/2">
<strong>function(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="message/1">
<strong>message(exception)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L198" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L217" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="module/1">
<strong>module(record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="module/2">
<strong>module(value, record)</strong>
</p>
<div class="docstring"></div>
- <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L197" target="_blank" class="view_source">Source</a>
+ <a href="https://github.com/elixir-lang/elixir/blob/master/lib/elixir/lib/exception.ex#L216" target="_blank" class="view_source">Source</a>
</div><div class="detail">
<p class="signature" id="new/0">
<strong>new()</strong>
</p>