ramda-cli
ramda-cli copied to clipboard
readme.md
Hi @raine -- I read through the readme. Really liked your examples. Some comments:
- I think it is important to say that you have to use quotes
''for functions with arity greater than 1. But also, quotes aren't required when the function has arity 1. - Also, I would have a paragraph at the beginning of the readme explaining the main livescript syntaxes you are using in the examples: function calls without parentheses, using single underscore
_for "gaps" in curried functions, and using dash-casing function names (using regular camelCasing also seems to works). I am not really familiar with livescript, so it would be helpful to say those specifics upfront before showing examples. - Ramda function double underscore
__does not work for me. I assume this has to do with conflict with livescript singe underscore_? - Add links for example dependencies Graphite, twarc.py
- The "credit card JSON to csv" example refers to a broken/unknown url
- In example "List a project's dependencies," I get error: the map-obj function is unknown. I do not see a
mapObjfunction in the current Ramda documentation.
Edit: You may also want to add: I noticed in the case of csv, if there is an empty input value, it returns a property with a empty string (maybe that is obvious for other people?).
$ cat <<EOF | ramda --input-type csv id
,name
1,
,Alice
EOF
[
{
"": "1",
"name": ""
},
{
"": "",
"name": "Alice"
}
]