|
|
|
|
|
by jorkadeen
337 days ago
|
|
But in Flix you can write: def main(): Unit \ IO =
Map.empty() |>
Map.insert("Hello", "World") |>
Map.get("Hello") |>
println
So I am not sure what you mean? In general, if you like pipelines then you want the "subject" (here the map) to be the last argument. That is how it is in Flix. |
|
Subject First:
Subject Last: