Since a KM native action doesn't exist, I created this plugin that executes Haskell code with parameters. This is currently in experimental phase. I hope this gets natively implemented someday.
runhaskell program should be at:
The script should have an
interact :: (String -> String) -> IO () function to accept those arguments.
I used some of the wonderful functions in the
prelude-jxa library by Rob Trew. Could be found here: https://github.com/RobTrew/prelude-jxa
The plugin currently writes a temporary
Retrieving the second item of a KM Array: