Skip to content

Comment on Programming languages to watch: LiveScript, Julia, Elixir

Comments

  Some other cool features of Elixir:
    ...
    * List comprehensions
I'd just like to point out that Erlang has list comprehensions as well.

Shh! I know, the list just looked dumb with only two items.

Feeling a little Rick Perry this morning? :-)

Polymorphic records are worth a mention.

Not only list comprehensions, but database comprehensions as well.

Are you referring to Erlang or Elixir? Erlang has QLC (Query List Comprehensions) which work like that for Mnesia, for instance. I couldn't find information on this in the Elixir docs but I probably didn't know where to look.

Yes, I was referring to Erlang's QLC module.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.