Commit graph

33 commits

Author SHA1 Message Date
Leonardo de Moura
c305c2691f chore: use := 2020-11-19 07:22:31 -08:00
Leonardo de Moura
2d2d39c78e chore: use mut 2020-11-07 17:32:13 -08:00
Leonardo de Moura
898a08a0c1 chore: avoid Has prefix in type classes
closes #203
2020-10-27 18:29:19 -07:00
Leonardo de Moura
ff493751b5 chore: HasFormat ==> ToFormat 2020-10-27 16:19:14 -07:00
Leonardo de Moura
5fed774461 chore: HasRepr ==> Repr 2020-10-27 16:15:10 -07:00
Leonardo de Moura
10c32fcf94 chore: HasToString => ToString 2020-10-27 16:11:48 -07:00
Leonardo de Moura
13c2a8ff51 chore: remove #lang lean4 header 2020-10-25 09:54:07 -07:00
Leonardo de Moura
43fbfec1fd chore: avoid Array.iterate and Array.iterateM 2020-10-22 16:30:04 -07:00
Leonardo de Moura
82ee2e361b chore: cleanup 2020-10-21 18:43:47 -07:00
Leonardo de Moura
ea829b75c0 chore: remove coercions for old frontend 2020-10-21 17:37:35 -07:00
Leonardo de Moura
b555307f06 chore: move to new frontend 2020-10-21 16:35:50 -07:00
Leonardo de Moura
ef18b0ab49 chore: use [builtinInit] 2020-10-19 14:58:38 -07:00
Sebastian Ullrich
a3f216967e fix: make Format.be tail recursive again 2020-10-14 17:23:51 +02:00
Sebastian Ullrich
d3463ef091 fix: break grouped fill items containing hard line breaks 2020-10-14 14:24:47 +02:00
Sebastian Ullrich
1f772aaa6c fix: Format.be: count space in front of fill item 2020-10-14 14:24:47 +02:00
Sebastian Ullrich
af78e6cc18 refactor: Format.be: reuse pushGroup in line case 2020-10-14 14:24:47 +02:00
Sebastian Ullrich
381db5265a refactor: monadify Format.be 2020-10-14 14:24:47 +02:00
Sebastian Ullrich
121b956bb4 refactor: make more internal Format stuff private 2020-10-14 14:24:47 +02:00
Sebastian Ullrich
7e5cd0d171 fix: Format.be: respect indent when trying to fit fill item in a new line 2020-10-14 14:24:47 +02:00
Leonardo de Moura
3e4bfe9a85 fix: missing coercion for new frontend 2020-10-10 07:07:14 -07:00
Sebastian Ullrich
be7a3b76eb feat: Format.fill 2020-10-07 15:30:36 +02:00
Sebastian Ullrich
df16221013 fix: Format.be: properly re-evaluate flattening after hard line break 2020-10-07 11:03:44 +02:00
Sebastian Ullrich
1fc1c55ed2 refactor: Format.be: explicit WorkItem structure 2020-10-07 10:09:05 +02:00
Sebastian Ullrich
3030c1ef7a fix: Format.merge 2020-10-07 09:44:04 +02:00
Sebastian Ullrich
02001971c6 feat: Format: allow negative indentation to cancel out undesired automatic indentation 2020-10-07 09:44:04 +02:00
Sebastian Ullrich
98b3251fd3 feat: Format.pretty: support hard line breaks 2020-10-07 09:43:05 +02:00
Sebastian Ullrich
c3ebb6ad1f fix: Format.group ignored preceding content on line 2020-10-07 09:43:05 +02:00
Sebastian Ullrich
31a2761bec perf: make Format.group a constructor, flatten on the fly 2020-10-07 09:43:05 +02:00
Sebastian Ullrich
7154c2380b refactor: simplify Format.SpaceResult 2020-10-07 09:43:05 +02:00
Sebastian Ullrich
97a2198fe0 feat: change default indent width from 4 to 2 spaces 2020-09-18 13:15:40 -07:00
Sebastian Ullrich
0e8ef0cb8c chore: document Format fields 2020-08-06 09:26:48 -07:00
Leonardo de Moura
249bda16c0 chore: remove prelude commands from Lean package 2020-06-25 11:21:17 -07:00
Leonardo de Moura
4ccc3fef52 chore: move Init.Lean files to Lean package 2020-05-26 15:04:35 -07:00
Renamed from src/Init/Lean/Data/Format.lean (Browse further)