lean4-htt/tests
Leonardo de Moura 6625656940 refactor: remove support for fun {a : A} => ...
The semantics was weird. It seems Agda is also having problems with
it. Here is an example that demonstrates how weird the semantics is:

```lean
check (fun {β α} (a : α) (b : β) => (b, a) : {α : Type} → {β : Type} → (a : α) → (b : β) → β × α)

-- Same example using `def`
def f : {α : Type} → {β : Type} → α → β → β × α :=
fun {β : Type} {α : Type} (a : α) (b : β) => (b, a)
```

Both commands were being accepted before this commit. Note that it
flips `β` and `α`.

Here is an example that did not work before this commit and would
confuse users.

```lean
check
  let id := fun {α} (a : α) => a;
  id [id 1]
```

users would have to write

```lean
check
  let id {α} (a : α) := a;
  id [id 1]
```

@Kha The Delaborator.lean test broke and I "fixed" by removing the
`{}` from it, and copying `produced` over `expected`. Please make sure
it still makes sense.
2020-03-26 10:40:16 -07:00
..
bench chore: fix benchmark 2020-03-24 17:27:02 +01:00
compiler refactor: String.toNat ==> String.toNat? and String.toNat! 2020-03-23 14:29:48 -07:00
elabissues doc: elabissue for structure same-name error msg 2020-02-18 10:52:44 -08:00
ir chore(tests): fix do syntax in tests 2019-06-30 13:04:34 +02:00
lean refactor: remove support for fun {a : A} => ... 2020-03-26 10:40:16 -07:00
playground test: add re-elaborating delaborator PoC to playground 2020-03-19 17:18:46 -07:00
plugin feat: file IO using handles 2020-01-12 08:02:48 -08:00