Commit graph

13774 commits

Author SHA1 Message Date
Leonardo de Moura
efa9d7e110 perf(library/type_context): performance issue when proving equation lemmas 2018-03-26 12:57:19 -07:00
Sebastian Ullrich
43d923c908 chore(script): fix nightlies... finally? 2018-03-26 16:17:42 +02:00
Sebastian Ullrich
a41d797900 fix(init/category/state): lift unintended universe restriction 2018-03-26 13:00:23 +02:00
Sebastian Ullrich
06e0d78e21 chore(doc/changes): update changelog 2018-03-26 12:55:38 +02:00
Sebastian Ullrich
0d146918d8 chore(script): fix nightly deployment 2018-03-26 12:55:27 +02:00
Sebastian Ullrich
0f7a8907c7 fix(init/data/default): add missing files 2018-03-22 00:15:56 +01:00
Sebastian Ullrich
9d96f8dd62 chore(.appveyor.yml,.travis.yml): fix path to setup_nightly.sh 2018-03-21 10:44:06 +01:00
Leonardo de Moura
54b45c19b3 chore(tmp/lean4.md): moved to google docs 2018-03-20 17:26:43 -07:00
Sebastian Ullrich
80d68a7605 chore(tests/lean/leanpkg/test_single): ignore empty lines around warning 2018-03-20 15:14:45 -07:00
Sebastian Ullrich
c4cc8c88c0 chore(.travis.yml): don't test packages when building nightly 2018-03-20 15:14:45 -07:00
Sebastian Ullrich
0c0646f03b chore(leanpkg/lean_version): recognize nightlies as releases separate from master 2018-03-20 15:14:45 -07:00
Sebastian Ullrich
e24735571a chore(.appveyor.yml,.travis.yml): use daily cron job for nightlies instead of first commit of the day
This makes sure the latest commit will always be included in a nightly after at
most 24 hours
2018-03-20 15:14:45 -07:00
Sebastian Ullrich
796baa19cb chore(.appveyor,.travis): proper nightly builds 2018-03-20 15:14:45 -07:00
Sebastian Ullrich
28f4143be3 feat(init/category/except): add monad_except_adapter for change the error type of a monad stack 2018-03-20 14:58:37 -07:00
Sebastian Ullrich
4593d7fcda feat(init/category/reader): add transitive monad_except instance 2018-03-20 14:58:37 -07:00
Sebastian Ullrich
277f8b7929 perf(init/category/reader): add inline annotations 2018-03-20 14:58:37 -07:00
Sebastian Ullrich
7daf6a2133 refactor(init/category): change _functor classes into new _adapter classes, add docs 2018-03-20 14:58:37 -07:00
Sebastian Ullrich
6b88f84cd6 refactor(init/category/reader): replace monad_reader_lift with Haskell's MonadReader class 2018-03-20 14:58:37 -07:00
Sebastian Ullrich
70167def6f refactor(init/category/state): replace monad_state_lift with Haskell's MonadState
* does not leak information about the inner monad via out_param
* can be derived from an inner `monad_state` instance
2018-03-20 14:58:37 -07:00
Sebastian Ullrich
112bddd343 chore(init/category/lift): remove unused monad_run.unrun field 2018-03-20 14:58:37 -07:00
Sebastian Ullrich
8fce7a342d chore(init/category/monad_fail): remove monad superclass for consistency with other monad classes
Also remove misleading TODO
2018-03-20 14:58:37 -07:00
Sebastian Ullrich
dc3db17fcd chore(data/buffer/parser): remove universe parameter
All operations are defined on Type only anyway
2018-03-20 14:58:36 -07:00
Sebastian Ullrich
23884d2863 refactor(init/data/option_t): move to init/category and adapt style 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
bcbe5ec9f4 refactor(init/category/functor): merge has_map into functor 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
3adc5113cb feat(init/category/state): make zoom work linearly 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
720e8c2640 doc(init/category/except): add reference to monad_except and move to end 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
da5c8e21df chore(init/category/cont): move to test 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
bac0f66ca0 chore(init/category/combinators): remove unnecessary monad.lift{n} 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
e6f5ce1303 doc(init/category/reader): add docs and test 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
e044030cd2 doc(init/category/cont): add docs and test 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
c104d5d34b doc(init/category/state): add docs and tests 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
97496509d7 feat(init/data/option_t): add has_monad_lift instance 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
4c877cff07 doc(init/category/lift): expand docs and note similarities to layers package 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
36f623af42 feat(init/category/reader): lift alternative through reader_t 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
1bd73f191f style(init/category): consistently use Greek letters for type parameters (well, except for m) 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
c56606d06a refactor(init/category/state): remove flipped state_t.run 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
10982cd94d chore(init/category/lift): document monad_run 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
afe3078b4b chore(init/category): final touches 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
f4c2499063 chore(init/category/transformers): remove now-unused monad_transformer class, rename to lift.lean 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
22d15bac7f chore(changes.md): changelog 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
b5c9569d86 feat(init/category): add cont_t monad transformer 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
c653292422 feat(init/category/monad_fail): make m in fail implicit 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
ace8ef286a feat(init/category): even more refactorings, simp lemmas 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
5599c9ca67 feat(init/category): misc enhancements from the tactic refactoring 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
4742d44a74 feat(init/category/state): add monad_except instance for state_t 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
b372dd94d3 feat(init/category/transformers): add monad_run class 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
69cfdbd290 refactor(init/category): make all monad transformers structures, replace monad classes with has_monad_lift_t wrappers 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
8c157eba64 refactor(init/category/state): replace monad_state with monad_state_lift 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
248e035402 fix(init/category/transformers): make has_monad_lift more universe polymorphic 2018-03-20 14:58:36 -07:00
Sebastian Ullrich
1a0363c7c2 feat(init/category/state): add run method, rename with_state 2018-03-20 14:58:36 -07:00