(PS: sorry for spamming with very small PRs but I prefer to keep them as small as it makes sense to and also I always prefer a second eye for this, that's why I'm not pushing to master :) )
Should we give people pointers to alternatives to GenEvent or to things like @josevalim's blog post in the docs for GenEvent?
This was due to be (hard-)deprecated in 1.4 but it wasn't, should we backport it to the 1.4 branch?
This commit should close #4111. Some options passed to :yecc/:leex in the corresponding compilers are overridden so that the return value of :yecc.file/2 and :leex.file/2 is predeterminable.
Previously only strings were accepted as valid env keys and values.
However, because the env option is eventually passed to
:erlang.open_port, false values, which remove existing environment
variables, should be allowed.
From…
I added @specs to the functions in Mix.Generator and examples to the docs for those functions.
I added @specs to all the public functions in Mix.Project; I did this because I was confused about how Mix.Project.in_project/3-4 works and I had to read the source to understand it (specifically, what the fun argument takes as t…
This PR adds the System.time_offset/0-1 functions discuessed in #4018 by @lexmag and @fishcakez.
The implementation is pretty straightforward, I'm just not sure about the docs: should they be more specific? Should they just point to the docs of the functions in the :erlang module?
(also, is :erlang.time_unit ok in the @spec…
Added the Enum.unzip/1 function as described in #2935. This function takes a list of two-elements tuples and returns a tuple with two lists: the first one with the first element of each tuple and the second one with the second element …
more ram and dedicated cpu cores, better network, faster boot times
http://docs.travis-ci.com/user/workers/container-based-infrastructure/
Most programmers tend to implement the digits of an integer by converting to a string representation, splitting the string, and then converting each char back into an integer. E.g. with code such as the following:
# BAD CO...
Fix for #1960, this is my first non-documentation PR to Elixir, so any feedback on how it could be improved would be appreciated :)
Since Float.parse uses Integer.parse, the -0 would be parsed independently of what came after the deci…
It's been a while since I've worked on a PR to elixir itself, and I forgot to use make test instead of mix test, which failed and generated a _build folder.
Figured it'd be prudent to go ahead and ignore these to ease the lives …
Adds examples for encode_query, encode, decode, decode_query, query_decoder, and parse.
Lines 909 and 259 were missing words. Other changes are made for minor grammatical clarity and consistency.
⚠️ Still working on this one.
nil. Let me know if we need to allow it.