Ramda functions and corresponding LiveScript idioms and syntax.
Most are used as predicates for filter or with map.
filter
map
nth 0
(.0)
prop 'name'
(.name)
add 1
(+ 1)
add __, '!'
(+ '!')
gt __, 2
(> 2)
pipe length, gt __, 2
(.length > 2)
is-nil
(~= null)
complement is-nil
(!~= null)
match /foo/
(is /foo/)
replace 'a', ''
(- 'a')
join ','
(* ',')
split ','
(/ ',')
to-upper
(.to-upper-case!)
compose g, f
g << f
g . f
pipe f, g
f >> g
bind console.log, console
console~log
range 1, 6
[1 to 5]
There was an error while loading. Please reload this page.