Comment by plainOldText
2 days ago
Sorry, I wasn't clear. Yes, you can have pipelines in Flix, F#, OCaml, to me however placing the "subject" first feels more natural, as function signatures (not necessarily in pipelines) have a symmetry not encountered otherwise:
Subject First:
Map.put(map, key, value)
Map.get(map, key)
Map.get(map, key, default)
Map.del(map, key)
Subject Last:
Map.put(key, value, map)
Map.get(key, map)
Map.get(key, default, map)
Map.del(key, map)
No comments yet
Contribute on Hacker News ↗