Sanjibukai

Sanjibukai

This bring me several memories (as a former EE engineer worked a lot with signals..)

Yes I’m pretty convinced of that..
Yet when I jumped into ruby (from assembly/c) I was astonished by Ruby meta-programming abilities..
And I’m sure that it will be ever more interesting in elixir.
I’m just taking the time to embrace FP before going on..

Anyway good luck to you..

1
Post #31
stefanchrobot

stefanchrobot

Frankly speaking, I find the parametrized pipe hard to read and understand, so I don’t really have an intention to use the library. Having said that, I applaud your persistence and I’m very happy that Elixir allows you to even do these things!

On a side note, I think an explicitly “indexed” pipe would gain my interest (I’m looking at you File.write). Something like:

data
|> foo(1, 2)         # pipe into the first argument
|>> bar(4, _, 6)     # pipe into the second

So the idea is here that there’s a new operator and I can explicitly state which argument I want to pipe into. The |>> is far from perfect, since it breaks the alignment.

0
Post #32
— All posts loaded —