Commit Graph
6148 Commits
Author SHA1 Message Date
Andrea Leopardi bbc2eae418 Clean up and reorder tests for the Regex module 2017-04-11 19:46:12 +02:00
Bryan Joseph 749bbf64af Replace maps calls with Map in Kernel.struct (#5978) 2017-04-11 14:37:41 +02:00
Eksperimental 43a1943e1c Give an argument a more descriptive name in the Record module (#5973) 2017-04-11 09:32:53 +02:00
Xavier Noria ae29e344d7 Use "negate" instead of "neg" in the Kernel.SpecialForms docs (#5976) 2017-04-10 15:54:39 +02:00
Xavier Noria b52f9f12a3 cover calls to anonymous functions in :. docs [ci skip] 2017-04-10 12:47:33 +02:00
Ben Olive da8f9d1458 Make it more clear that file permissions are octal (#5975)
The font used in the rendered docs does not differentiate `0` and `o`
very well. Put the flags in inline code blocks so that they use a
monospace font that's more unambiguous.

Also, add a short sentence stating that the flags are octal.
2017-04-10 11:24:40 +01:00
Eksperimental c1703eabea Complete typespecs for Record module (#5932)
Additionally rename argument `val` to `value`
2017-04-10 14:18:53 +09:00
Eksperimental eb85ba4a64 Integer.gcd/2 improvements (#5946) 2017-04-10 02:41:38 +09:00
Justin Johnson 3b4bb065a9 Minor doc cleanup (#5968) 2017-04-09 02:57:27 +09:00
Andrea Leopardi cb3d0aa8b6 Improve some naming in the implementation of Enumerable for Range 2017-04-07 17:28:27 +02:00
Andrea Leopardi f354a2da8e Slightly polish docs for Integer.gcd/2 2017-04-06 08:55:38 +02:00
José Valim 4010a79c3e Improve raise docs and error message 2017-04-04 19:03:41 +09:00
Ross Kaffenberger 978f4dc78a Fix a typo in a comment in Registry (#5958)
[ci skip]
2017-04-02 21:43:25 -07:00
Aleksei Magusev d5dadf43e0 Tidy up MapSet tests 2017-04-03 01:16:28 +02:00
Aleksei Magusev 4100ab4a77 Improve arguments naming in Enum.reverse/1 2017-04-03 01:16:28 +02:00
Aleksei Magusev eb086d6eb7 Drop do_ prefixing in helper functions for MapSet.new/1-2 2017-04-03 01:16:28 +02:00
José Valim b311a62d84 No need to reverse lists on MapSet 2017-04-01 22:25:23 +09:00
Adrian Mugnolo ab4805c766 Fix whitespace for GenServer.whereis/1
Try to make consistent with rest of file.
2017-03-31 13:43:24 +02:00
Adrian Mugnolo 1c8aeda0cb Add head for GenServer.whereis/1 to match spec 2017-03-31 13:43:24 +02:00
José Valim 62452ee708 Improve Code.ensure_compiled docs 2017-03-31 09:00:53 +09:00
Michał Muskała 63cea4f396 Add information about after clause timeout limit (#5942)
Source: http://erlang.org/doc/reference_manual/expressions.html#id80928
2017-03-31 08:47:08 +09:00
Xavier Noria 8f78ed51f8 Add a test suite for Integer.gcd/2 (#5945) 2017-03-30 11:38:04 +02:00
Xavier Noria 7faffcf477 Document the edge case Integer.gcd(0, 0) [ci skip] (#5944) 2017-03-30 11:29:55 +02:00
Aleksei Magusev a0b6612c71 Fix Integer.gcd/2 to not raise for zeros 2017-03-30 01:04:44 +02:00
Aleksei Magusev 002284efb9 Improvements to calendar modules 2017-03-30 01:04:44 +02:00
José Valim ddd92110a5 Simplify conversions by working on gregorian seconds 2017-03-29 11:37:56 +02:00
José Valim 582b6b9e90 Improve docs for Calendar's diff functions 2017-03-28 14:49:29 +02:00
José Valim a9471a3d6d Tidy up more calendar details 2017-03-28 14:43:06 +02:00
Qqwy / Wiebe-Marten 4eba8ccf3f Improve {(Naive)DateTime, Date, Time}.diff/2 (#5923) 2017-03-28 14:24:30 +02:00
Aleksei Magusev 553c342ddd Fix warning in doctest for Agent.start_link/2 2017-03-27 21:29:16 +02:00
Aleksei Magusev 7a435951d3 Fixes and improvements to Calendar modules 2017-03-27 21:28:36 +02:00
José Valim 1822cdbc8d Improve port docs, closes #5937 2017-03-27 17:29:45 +02:00
José Valim 9b614bb1a3 Example for error on agent start, closes #5936 2017-03-27 15:13:00 +02:00
Qqwy / Wiebe-Marten 8e11aacfcf Improve docs and specs for {(Naive)DateTime, Date, Time}.convert/2 (#5921) 2017-03-27 12:58:05 +02:00
Eksperimental 9711c6ff3a Be clearer explaining how to create a record with a customized tag (#5931)
Previously the tag name is the same name as the module the records is defined in,
so it may not be clear.
2017-03-26 09:26:56 -07:00
Aleksei Magusev e7db5d81c4 Small formatting improvement to Application.put_env/4 doc 2017-03-26 15:14:14 +02:00
Aleksei Magusev b3957a6b5b Improve naming of errors in elixir_expand 2017-03-26 15:14:14 +02:00
Aleksei Magusev c60ebb90bb Use "option" instead of "keyword" in error message for alias 2017-03-26 15:14:14 +02:00
Aleksei Magusev cc33b340b0 Improve test of discouraged types in TypespecTest 2017-03-26 15:14:14 +02:00
Aleksei Magusev 4a5822a90e Remove unnecessary calls to abs/1 2017-03-26 15:14:14 +02:00
Eksperimental d020b187a5 Remove unused import in Calendar.ISO (#5930)
Introduced in d017c5ab12.
2017-03-25 17:58:32 +01:00
Andrea Leopardi ed1c9489d4 Replace compile_error/4 with form_error/4 in elixir_erl_compiler (#5925) 2017-03-25 17:02:59 +01:00
Jeff Kreeftmeijer efa05882d0 Restore (deprecated) Integer.to_char_list/2 (#5928) 2017-03-25 14:05:54 +01:00
Michał Muskała 7034721ae9 Inline Map.replace!/3 and comments about inlining (#5922) 2017-03-25 13:44:01 +01:00
Andrea Leopardi 6311c0313e Properly document passing strings to Module.split/1 (#5927) 2017-03-24 14:17:02 -07:00
Andrea Leopardi f128d209d0 Minor improvements to the docs and specs in the Module module 2017-03-24 11:40:08 -07:00
Eksperimental eb0f3ea6eb Add typespecs and guards for the Module module (#5869) 2017-03-24 11:00:40 -07:00
Andrea Leopardi 97810dd836 Mention :sys.suspend/2 and :sys.resume/2 in the GenServer documentation
[ci skip]
2017-03-23 16:47:23 -07:00
José Valim c5a3ca4cdb Properly inline code and remove warnings 2017-03-23 19:01:13 +01:00
Qqwy / Wiebe-Marten 3f88ab745e {Map, Keyword}.replace/3 and replace!/3 (#5917) 2017-03-23 18:52:50 +01:00