I came across a particular function supplied to count
in the documentation I wasn’t aware of previously. The >(3)
in count(>(3), 1:7, init=0x03)
is something I’ve been looking to replicate but didn’t know existed. Is there anywhere in the documentation which details this functionality?
See this section of the documentation, or if you ask for help on >
in the REPL you get
help?> >
...
>(x)
Create a function that compares its argument to x using >, i.e. a function equivalent to y -> y > x.
...
3 Likes