Peter Minten

Results issues of Peter Minten

``` elixir (quote do: 1 | 2 | 3 | 4) |> Macro.to_string ``` Returns `"((1 | 2) | 3) | 4"` I use Macro.to_string for formatting the type specifications...

App:Elixir (stdlib)
Level:Intermediate

``` elixir defmodule Example do @spec plus1(integer) :: integer def plusone(x) do x + 1 end end ``` Gives an error message: ``` ** (CompileError) test.ex:1: spec for undefined function...

App:Elixir (stdlib)
Level:Intermediate

Currently there's no way to add documentation to types. We've [discussed this on the mailing list](https://groups.google.com/d/topic/elixir-lang-core/5Rq23-iYOuE/discussion) and two possible approaches have come up: ``` elixir @typedoc "Frobinicator" @type foo ::any()...

This doesn't work: `Stream.drop(1..100, 5) |> Stream.take(5) |> Enum.to_list` ``` ** (ArgumentError) argument error lib/elixir/lib/stream.ex:118: Enumerable.Stream.Lazy.do_reduce/3 lib/elixir/lib/enum.ex:1021: Enum.to_list/1 erl_eval.erl:569: :erl_eval.do_apply/6 src/elixir.erl:138: :elixir.eval_forms/3 ``` These work: - `Stream.drop(1..100, 5) |> Enum.take(5)...

App:Elixir (stdlib)

I've been seeing a lot of questions in the IRC channel regarding the "weird" behaviour of inspect([10]) and the likes. It would be good to have an option to inspect...

Note:Discussion
App:Elixir (stdlib)

Stream functions in `IO` and `File` throw `File.IteratorError`. That name seems to be a relict of when iterators were used in the collections libraries. Maybe rename to `File.StreamError` or `IO.StreamError`...

Note:Discussion
App:Elixir (stdlib)

``` elixir Enum.drop_while(["alfred", "berta", "claire"], &(!String.starts_with?(&1, "ber"))) ``` ``` ** (SyntaxError) iex:2: invalid args for &, block expressions are not allowed, got: !String.starts_with?(&1, "alf") src/elixir_translator.erl:596: :elixir_translator.translate_arg/2 lists.erl:1339: :lists.mapfoldl/3 lists.erl:1340: :lists.mapfoldl/3...

App:Elixir (stdlib)

If I add ex_doc to the MIX_PATH the "docs" task doesn't show up in `mix --help`. This is confusing.

Elixir currently doesn't have a simple one-function way to read a data structure from a file, making sure it's safe. If you're new to the project and like to contribute...

It would be nice to write something like `CodepointInfo[codepoint: cp, upper, lower, title]` instead of `CodepointInfo[codepoint: cp, upper: upper, lower: lower, title: title]`. OCaml has a mechanism for this called...

Note:Discussion
App:Elixir (stdlib)