The Meddle : A blog about various experiments or ideas in Elixir

So that’s my blog -

It is powered by my own engine - Blogit, which is written especially for my ‘tech blogging’ needs.

Want to share the first of series of posts : Defining Recursion.
And here is the link -

Hope it is interesting read to you.


Wrote a new post :

This one deals with using only a very small subset of Elixir. A subset containing only anonymous functions of one argument and nothing else.
Using just that we define our own data types and operations on them.

If you are interested in lambda calculus and computer science, read it.


I haven’t known erlang anoynmous functions are so smilar to elixir.

Yeah, I can add Erlang examples to if you are interested, but they’ll be really similar.

Thanks one example enough. I just heard erlang syntax complex. But i see annoymous functions too smilar.

Erlangs syntax is actually a lot more concise than elixirs, it might look a little odd but there is far less of it. One of its benefits over elixir imo.

It’s not complex, it’s very simple, and that’s why most people don’t understand it.

I did think the same when I first start to see Erlang codes (learned Elixir first), but now I don’t think like that anymore. Elixir brought Erlang’s power to the lands of imperative programmers. I mean, Elixir still functional, but it’s not that much different than everything an imperative programmer is used to.

I have even heard some people saying: “Elixir is not functional at all”. Of course these people really don’t understand what a functional programming language is. But when I heard it, I had an epiphany: their assumption is “if it’s not complicated for me to understand, it’s not functional”.

And why should it be like that? I mean, it’s bad these people think like that because it would be good for them to learn different syntaxes! Is the syntax that big deal for our everyday work? Do a complicated syntax makes us that much more unproductive? Or unhappy?

Sorry for the off-topic. :grimacing:

1 Like

Right on the spot!


Very nice post, you show it well!

However, I think you meant remainder instead of reminder when doing the remainder of division in the code (the function and all calls to it are called reminder)? :slight_smile:

Thanks, fixed. Typos everywhere!

1 Like

Don’t we all! ^.^;