lean4-htt/library/init/algebra
Leonardo de Moura c58f61e925 feat(frontends/lean/elaborator): new encoding for structure updates {s with ...}
See discussion at #1438
https://github.com/leanprover/lean/pull/1438#discussion_r105007325

@digama0 With this commit, the original `array_list.write` will also
perform a destructive update when the reference counter for `l` is 1.

```lean def write {α} (l : array_list α) : fin l^.length → α → array_list α :=
λ ⟨n, h⟩ v, { l with data := l^.data^.write ⟨n, l^.lt_capacity h⟩ h v }
```
2017-03-09 00:11:51 -08:00
..
ac.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
default.lean feat(library/init/algebra): add discrete_linear_ordered_field 2016-12-17 21:18:59 -08:00
field.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
functions.lean feat(library,frontends/lean): expose parser to Lean and use for parsing tactic parameters 2017-02-17 13:45:56 +01:00
group.lean feat(frontends/lean/elaborator): new encoding for structure updates {s with ...} 2017-03-09 00:11:51 -08:00
norm_num.lean chore(script/gen_constants_cpp): generates a warning if automatically generated C++ function is not used in the source code 2017-02-21 12:05:41 -08:00
order.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
ordered_field.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
ordered_group.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
ordered_ring.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00
ring.lean feat(frontends/lean): no global universes in the frontend 2017-02-08 17:23:04 -08:00