We already do for maps:
iex(1)> map = %{foo: 1}
%{foo: 1}
iex(2)> map.
and atoms:
iex(1)> map = Map
Map
iex(2)> map.
*José Valimwww.plataformatec.com.br
<http://www.plataformatec.com.br/>Founder and Director of R&D*
On Wed, Oct 4, 2017 at 4:15 PM, OvermindDL1 <[email protected]> wrote:
> Hmm, although iex autocompleting something like that when it is a map,
> keyword list, or an atom/tuple would be quite nice and entirely doable.
> PR's welcome I'm sure. ^.^;
>
> On Wednesday, October 4, 2017 at 4:10:58 AM UTC-6, José Valim wrote:
>>
>> Elixir is not an object-oriented language. You can't really do something
>> like:
>>
>> x = "foo"
>> x.casefold
>>
>>
>>
>>
>>
>> *José Valimwww.plataformatec.com.br
>> <http://www.plataformatec.com.br/>Founder and Director of R&D*
>>
>> On Wed, Oct 4, 2017 at 11:57 AM, andrei sura <[email protected]> wrote:
>>
>>>
>>> I am new to elixir and still learning about using iex.
>>> For python there is this nice package called bpython which recognizes
>>> the type of a variable and can suggest functions from the class.
>>>
>>> Example:
>>>
>>> iex> Map. +TAB ==> list of functions available in the map class
>>> iex> x = Map.new
>>> iex> x. + TAB ==> nothing happens ( I expected list of functions
>>> available in the map class)
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "elixir-lang-core" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/elixir-lang-core/045ba7a7-d2ae-409c-8f20-d8d8624cab12%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/elixir-lang-core/045ba7a7-d2ae-409c-8f20-d8d8624cab12%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/elixir-lang-core/ddad8b9e-6126-4edb-a4d7-
> eee25bfc8c20%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/ddad8b9e-6126-4edb-a4d7-eee25bfc8c20%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4LUY4Usn8S7n5fXJSzZMU1GGi0CMnvbZ3%2BMDXMfoA8H8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.