[elixir-core:8882] Re: [Proposal] identity function

2019-07-02 Thread Роман Смирнов
+1 Could be very handy sometimes. вторник, 2 июля 2019 г., 12:23:47 UTC+3 пользователь Alexey Nikitin написал: > > Like Haskell's `id` or Clojure's `identity` or Ruby's `itself` > > It can be very useful sometimes. Instead of writing ugly `&(&1)` it would > much more attractive to write `/1` or

[elixir-core:8466] Re: [Proposal] - New Formatter option for spaces around brackets/parens

2019-02-05 Thread Роман Смирнов
> At the same time, I am also an advocate for readability of code. Really? Imho, code examples above with extra spaces are awful to read. вторник, 5 февраля 2019 г., 13:01:47 UTC+3 пользователь Chris Hicks написал: > > I read and agree with the basic principle outlined there. I can definitely

[elixir-core:8462] [Proposal] Debug macro like dbg! in Rust 1.32

2019-01-23 Thread Роман Смирнов
Hi, Recently I read release notes of Rust 1.32 and was impressed of dbg macro convenience. Therefore I decided to implement the same concept in Elixir. At the moment I've implemented it as a library: https://github.com/romul/dbg_inspect But maybe it would be useful to implement it in the