Here's one way you might write one of the examples in Coconut:
([1, 2, 3, 4] |> map$(-> _ * 2) |> filter$(-> _ > 4) |> reduce$((x, y) -> x + y) )
Here's one way you might write one of the examples in Coconut:
You may freely mix Coconut and Python in a project, even in the same file, but any Coconut code still needs to be run through the compiler.