summaryrefslogtreecommitdiff
path: root/dhall/src/phase/typecheck.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2019-04-30Remove now useless TypedOrType typeNadrieril1-86/+34
2019-04-30Avoid some rewrapping of thunksNadrieril1-2/+2
2019-04-30Don't borrow from thunk more than necessaryNadrieril1-37/+58
2019-04-30Pass references when possibleNadrieril1-26/+33
2019-04-30Merge Typed and PartiallyNormalizedNadrieril1-75/+62
2019-04-30Store a Thunk in TypedNadrieril1-6/+11
2019-04-30Store thunks behind Rc<RefCell<_>> to ensure minimal computationNadrieril1-4/+1
2019-04-29Remove NF/WHNF distinction at runtimeNadrieril1-6/+6
2019-04-29Allow representing normal form as a semantic valueNadrieril1-22/+27
2019-04-29Don't need to store original expression in TypeErrorNadrieril1-48/+14
2019-04-29Properly substitute when typing AppNadrieril1-45/+45
2019-04-28Use PartiallyNormalized throughout typecheckingNadrieril1-86/+87
2019-04-27Move Pi to WHNFNadrieril1-36/+41
2019-04-27BuiltinsNadrieril1-15/+11
2019-04-27Replace TypeInternal::UnionType with WHNF::UnionTypeNadrieril1-23/+23
2019-04-27Replace TypeInternal::RecordType with WHNF::RecordTypeNadrieril1-28/+51
2019-04-27Rework TypeInternalNadrieril1-83/+72
2019-04-26Lists and OptionalsNadrieril1-42/+94
2019-04-26ensure_is_const is not that helpfulNadrieril1-59/+35
2019-04-26Union typesNadrieril1-66/+117
2019-04-25Fix shifting againNadrieril1-13/+9
2019-04-25Now I can use TypeInternal::RecordType fullyNadrieril1-11/+10
2019-04-25Revert "Try property testing against reference implementation"Nadrieril1-133/+0
2019-04-25Try property testing against reference implementationNadrieril1-0/+133
2019-04-25Correctly shift values before inserting into contextNadrieril1-4/+7
2019-04-25normalize_to_type can use the captured contextNadrieril1-14/+14
2019-04-23RecordTypesNadrieril1-62/+108
2019-04-23Fix shifting under PiNadrieril1-13/+29
2019-04-23Avoid duplicating TypeInternal in TypedImprovedNadrieril1-44/+40
2019-04-23Avoid constructing ExprF::Pi while typecheckingNadrieril1-57/+93
2019-04-23Avoid duplicating work when matching on Pi typesNadrieril1-35/+100
2019-04-23Pass TypedImproved directly to type_last_layerNadrieril1-40/+55
2019-04-22Temporarily simplify functions depending on TypeInternalNadrieril1-26/+14
2019-04-22Pass through new TypedImproved typeNadrieril1-25/+92
2019-04-22Store context in TypedNadrieril1-13/+18
2019-04-22Avoid shift_subst in typecheckNadrieril1-31/+25
2019-04-21Prepare for interop between two contextsNadrieril1-8/+53
2019-04-21Factor out context handlingNadrieril1-14/+28
2019-04-21Embrace TypeInternal as a semantic valueNadrieril1-8/+14
2019-04-20Move TypeInternal to typecheckNadrieril1-9/+29
2019-04-20An empty optional value is purely semanticNadrieril1-7/+1
2019-04-19Make App() only store one argumentNadrieril1-46/+18
2019-04-18Label is redundant in EnvItem::SkipNadrieril1-2/+3
2019-04-18subst_shift in a single passNadrieril1-10/+7
2019-04-18Remove more duplicationNadrieril1-3/+3
2019-04-16Add typecheck failure testsNadrieril1-7/+82
2019-04-16Handle nullary union variantsNadrieril1-1/+1
2019-04-16Prepare for nullary union variantsNadrieril1-8/+38
2019-04-16Fix union constructor typecheckingNadrieril1-17/+24
2019-04-16Typecheck union constructorNadrieril1-6/+15