summaryrefslogtreecommitdiff
path: root/dhall/src/normalize.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Avoid some rewrapping of thunksNadrieril2019-04-301-34/+49
|
* Mutate thunk contents directly if sole ownerNadrieril2019-04-301-2/+8
|
* Normalize mutablyNadrieril2019-04-301-30/+120
|
* Don't borrow from thunk more than necessaryNadrieril2019-04-301-0/+4
|
* Pass references when possibleNadrieril2019-04-301-64/+87
|
* Merge Typed and PartiallyNormalizedNadrieril2019-04-301-42/+32
|
* Store a Thunk in TypedNadrieril2019-04-301-19/+5
|
* Store thunks in the normalization contextNadrieril2019-04-301-12/+13
|
* Store thunks behind Rc<RefCell<_>> to ensure minimal computationNadrieril2019-04-301-77/+159
|
* Remove NF/WHNF distinction at runtimeNadrieril2019-04-291-93/+72
|
* Make NF and WHNF custom types instead of aliasesNadrieril2019-04-291-3/+5
|
* Don't shift by mutable refNadrieril2019-04-291-93/+106
|
* Store thunk in Value::LambdaNadrieril2019-04-291-19/+17
|
* Allow representing normal form as a semantic valueNadrieril2019-04-291-226/+340
|
* Properly substitute when typing AppNadrieril2019-04-291-12/+173
|
* Use PartiallyNormalized throughout typecheckingNadrieril2019-04-281-4/+8
|
* Move Pi to WHNFNadrieril2019-04-271-0/+10
|
* Replace TypeInternal::RecordType with WHNF::RecordTypeNadrieril2019-04-271-4/+17
|
* Store thunks uniformly in WHNFNadrieril2019-04-271-59/+42
|
* Abstract out thunks in type positionNadrieril2019-04-271-22/+64
|
* Rename Now to ThunkNadrieril2019-04-271-45/+44
|
* Define new intermediate expression typeNadrieril2019-04-271-19/+36
|
* Using only shift0 was not such a great ideaNadrieril2019-04-271-23/+19
|
* Respect import boundary in normalizationNadrieril2019-04-251-1/+3
|
* Store context in TypedNadrieril2019-04-221-14/+7
|
* Avoid shift_subst in typecheckNadrieril2019-04-221-1/+15
|
* Prepare for interop between two contextsNadrieril2019-04-211-17/+37
|
* Embrace TypeInternal as a semantic valueNadrieril2019-04-211-0/+1
|
* An empty optional value is purely semanticNadrieril2019-04-201-8/+5
|
* Implement more normalization simplificationsNadrieril2019-04-201-9/+16
|
* shift by mutable ref to avoid reallocationsNadrieril2019-04-201-80/+71
|
* TweaksNadrieril2019-04-201-5/+6
|
* AppliedBuiltin does not need a contextNadrieril2019-04-201-25/+23
|
* Avoid a lot of unnecessary cloning in apply_builtinNadrieril2019-04-201-126/+183
|
* CleanupNadrieril2019-04-201-166/+144
|
* Swap importNadrieril2019-04-201-62/+54
|
* Remove last remnant of expr buildingNadrieril2019-04-201-12/+29
|
* Introduce special closures to avoid constructing exprsNadrieril2019-04-201-34/+67
|
* Avoid a lot of slow Expr costructionNadrieril2019-04-201-73/+52
|
* FormattingNadrieril2019-04-201-153/+152
|
* Remove WHNF/Closure distinctionNadrieril2019-04-201-132/+113
|
* Refcount contexts to avoid clonesNadrieril2019-04-201-40/+40
|
* Rewrite apply_builtin to work on WHNFsNadrieril2019-04-201-152/+160
|
* More cleanupNadrieril2019-04-201-125/+51
|
* Cleanup leftover normalization codeNadrieril2019-04-201-58/+10
|
* Text interpolationNadrieril2019-04-201-15/+31
|
* Text literalsNadrieril2019-04-201-1/+52
|
* Improve WHNF ergonomicsNadrieril2019-04-201-104/+135
| | | | This will be needed for the apply_builtin rewrite anyways
* Simplify apply_builtinNadrieril2019-04-201-111/+69
|
* Optionals and unionsNadrieril2019-04-201-24/+96
|