amuletml / amulet

An ML-like functional programming language
https://amulet.works/
BSD 3-Clause "New" or "Revised" License
328 stars 16 forks source link

Add support for dot-op assignments #247

Closed SquidDev closed 4 years ago

SquidDev commented 4 years ago

This now allows one to write expressions like:

let x = Array.create (fun _ _ -> "") (10, 10)
x.(0, 0) <- "Something fancy"

(ignoring the fact that we have no array library yet).

plt-amy commented 4 years ago

We do have an array library and it doesn't look like that. Thanks :+1: