Reason: Syntax proposal: Make `fun` unnecessary

Created on 10 Sep 2017  路  2Comments  路  Source: reasonml/reason

It would be awsome if you could write

xs |> List.map (x => x.y)

instead of

xs |> List.map (fun => x.y)

Most helpful comment

Yes, that's part of the new syntax in master =)
Will close this once we release it

All 2 comments

Yes, that's part of the new syntax in master =)
Will close this once we release it

Closing now because we're probably shipping soon!

Was this page helpful?
0 / 5 - 0 ratings