Hacker News new | past | comments | ask | show | jobs | submit login

Is it more readable than

    (->> JSON 
        (elem "countries")
        first)



This looks very readable and matches the structure of the json too.

To me it's basically the same readability wise with proper indentation.

Though with deeply nested data and a lot of map functions I think you'd have a lot of unnecessary (->> JSON ...). But those can probably be eliminated with another macro.

Also, there's the pipe function in jql which basically lets you do this.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: