Leonardo de Moura
6db46e0505
fix(frontends/lean/server): std::unordered_map::insert does replace
...
existing entry, fixes #188
2014-09-12 16:50:06 -07:00
Leonardo de Moura
b7023ce1d8
fix(frontends/lean/placeholder_elaborator): do not truncate stream of
...
solutions during class-instance resolution, closes #183
For example, in theorem inverse_unique at category.lean, implicit
arguments are synthesized for inverse_compose. The first solution H' is
not good, and produces a type incorrect solution
2014-09-12 16:12:23 -07:00
Leonardo de Moura
b482f27543
fix(util/lazy_list): bug in filter operation
2014-09-12 16:12:23 -07:00
Leonardo de Moura
b7dcb8f833
fix(frontends/lean/elaborator): remove annotation left-over
2014-09-12 16:12:23 -07:00
Soonho Kong
563cfa73ec
feat(emacs/lean-changes): handle before/after-revert
2014-09-12 14:25:08 -07:00
Soonho Kong
27ae03878c
refactor(emacs/lean-server): rename flush-changed-lines to server-flush-changed-lines
2014-09-12 14:25:08 -07:00
Soonho Kong
c034c54f50
refactor(emacs/debug): rename lean-server-debug to lean-debug
2014-09-12 14:25:08 -07:00
Leonardo de Moura
029acbd1df
feat(library/coercion): better support for coercions to function-class. closes #185
2014-09-12 13:17:20 -07:00
Leonardo de Moura
62585f1c56
fix(library/coercion): remove spurious '\n'
2014-09-12 13:08:47 -07:00
Leonardo de Moura
a2e36e97f2
fix(frontends/lean/builtin_cmds): allow coercion command inside section, fixes #186
2014-09-12 12:13:29 -07:00
Leonardo de Moura
a305012ce5
fix(library/data/category): mark definitions as abbreviations
2014-09-12 09:28:33 -07:00
Leonardo de Moura
010ecebfea
feat(frontends/lean): add proof-qed expression
...
Remark: we still have to add support to it in the elaborator.
Right now, it is just an embellished parenthesis.
2014-09-11 18:14:49 -07:00
Leonardo de Moura
c8e20ff3c0
fix(library/data/category): minor problem that was being masked by bug #182 , fixes #183
2014-09-11 16:58:32 -07:00
Floris van Doorn
7f1977694f
feat(library/data/category.lean) the definition of category doesn't depend on 'mor' anymore; make iso a class; add theorems
2014-09-11 16:39:47 -07:00
Leonardo de Moura
7ffe73b8ca
fix(frontends/lean): name clash inside section, fixes #181
2014-09-11 16:37:23 -07:00
Leonardo de Moura
5cff53c447
test(tests/lean/run): add section test
2014-09-11 15:33:20 -07:00
Leonardo de Moura
8c11dc1ecd
chore(library/data/quotient): rename aux.lean to util.lean (fix problem with cloning lean repository on Windows machine)
...
See
http://stackoverflow.com/questions/3689137/error-git-checkout-index-unable-to-create-file
for additional details
2014-09-11 14:57:15 -07:00
Leonardo de Moura
85f7132efe
feat(frontends/lean/placeholder_elaborator): perform class-instance resolution in a completely independent unifier object, it also triggers the resolution when expected type does not contain metavariables, closes #175 , closes #173 , closes #68
2014-09-11 14:49:35 -07:00
Leonardo de Moura
03902d4b45
refactor(library/unifier): add option m_discard too unifier, if m_discard == false, then unsolved flex-flex constraints are returned, the unifier also does not apply "last resource" techniques that may miss many solutions.
2014-09-11 14:49:35 -07:00
Leonardo de Moura
935ba35292
feat(library/unifier): keep normalization result when processing universe level unification constraints
2014-09-11 14:49:35 -07:00
Leonardo de Moura
c7c35becb2
feat(library/io_state): add default constructor to io_state
2014-09-11 14:49:35 -07:00
Leonardo de Moura
80fd14b39e
refactor(frontends/lean): replace collect_metavars with metavar_closure helper class
2014-09-11 14:49:35 -07:00
Soonho Kong
b31edb2cee
fix(emacs/lean-company): pass dummy continuation for WAIT
2014-09-11 13:46:07 -07:00
Soonho Kong
0b507777f9
fix(emacs/lean-company): repaint background in the candidate only when required
2014-09-11 13:44:54 -07:00
Soonho Kong
389fe02597
fix(emacs/lean-server): handle modified buffer only when process start
2014-09-11 12:40:10 -07:00
Soonho Kong
733c0e4a77
chore(emacs/lean-server): make trace-mode and debug-mode non-local vars
2014-09-11 12:34:23 -07:00
Soonho Kong
89f38b3945
test(emacs/features): add ecukes template
2014-09-11 12:33:49 -07:00
Soonho Kong
2ba43f1432
refactor(emacs): move tests in *.el files to 'test' directory
2014-09-11 12:29:32 -07:00
Soonho Kong
45b7327d63
doc(emacs/README.md): add contribution section
2014-09-11 12:29:00 -07:00
Soonho Kong
c879b2ce6d
chore(emacs/Cask): add ert-runner, ecukes
2014-09-11 11:12:05 -07:00
Soonho Kong
4b556a41ed
feat(emacs/lean-server): async task queue holds type of cmds as well
2014-09-11 04:09:21 -07:00
Soonho Kong
565402f3d6
feat(lean-server): handle signals (error/quit) in continuations
...
Related with #158
2014-09-11 04:07:50 -07:00
Soonho Kong
5b28480809
chore(emacs/lean-server): send signal info to lean-server-trace
2014-09-11 04:04:20 -07:00
Soonho Kong
92f8a22ea1
fix(emacs/lean-company): send dummy continuation when send wait
2014-09-11 04:03:23 -07:00
Leonardo de Moura
746f5bff0d
refactor(library/data/list/basic): cleanup
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-10 16:42:49 -07:00
Leonardo de Moura
1e5ba9bd75
refactor(frontends/lean/elaborator): move coercion_elaborator to its own module
2014-09-10 16:42:49 -07:00
Leonardo de Moura
6bc41f8dde
refactor(frontends/lean/elaborator): move placeholder_elaborator to its own module
2014-09-10 16:42:49 -07:00
Leonardo de Moura
9ce356e515
refactor(frontends/lean/local_context): do not use references in the local context
2014-09-10 16:42:49 -07:00
Soonho Kong
63c0510a05
feat(emacs/lean-tags): detect and support multiple TAGS
...
Close #170
2014-09-10 16:38:36 -07:00
Soonho Kong
1ea8b66a39
fix(emacs/lean-company): enable auto-complete when prefix length >= 1
...
[skip ci]
2014-09-10 16:21:44 -07:00
Soonho Kong
1c5497e632
feat(emacs/lean-project): add lean-project-create to imenu
...
Related with #170
2014-09-10 15:19:11 -07:00
Soonho Kong
b05ca1db0f
fix(emacs/lean-tags): handle exceptions from find-tag
2014-09-10 14:14:42 -07:00
Soonho Kong
b51e8dd1b9
fix(emacs/lean-server): respect order of messages in check-buffer-and-partition
2014-09-10 14:14:42 -07:00
Soonho Kong
7c4debd1d1
feat(emacs/lean-server): handle modified buffer when send VISIT cmd
...
Close #159
2014-09-10 14:14:42 -07:00
Leonardo de Moura
669b1bff45
refactor(frontends/lean/elaborator): rename choice_elaborator to choice_iterator and move to separate module
2014-09-10 11:20:16 -07:00
Leonardo de Moura
e128610711
chore(tests): use option -t 100000 to speedup tests
2014-09-10 11:20:16 -07:00
Leonardo de Moura
4a4de27a6c
refactor(frontends/lean/elaborator): move local_context to separate file
2014-09-10 11:20:16 -07:00
Leonardo de Moura
4ea322febc
chore(frontends/lean/elaborator): minor cleanup
2014-09-10 11:20:16 -07:00
Soonho Kong
bf02c54591
chore(.travis): install valgrind before we install c++ compiler
2014-09-10 09:47:43 -07:00
Soonho Kong
cab1811927
feat(emacs/lean-server): print out signal event to debug buffer
2014-09-10 09:07:16 -07:00