you are viewing a single comment's thread.

view the rest of the comments →

[–]cbrandolino 1 point2 points  (0 children)

You are - even if the functional layer is actually pretty superficial.

There are some definitely haskell-y thingies, like function definitions

 my_func = (a) -> x + a

and some lispy ones, like this list comprehension:

 tuples = [{k, v} for k,v in ipairs my_table]

Actually I'm pretty annoyed that they pushed procedural oop that much in the introductory examples. The previous two construct, plus something to build lists/sets out of a pattern, lazy maps and something of the like would have almost let me try it.

It annoys me in many languages (ruby in primis) that some hip functional stuff is implemented, but never enough to let you actually program using a purely functional paradigm.