summaryrefslogtreecommitdiff
path: root/dhall/src/phase (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add case for RightBasedRecordMerge in the typechecking phase.Fintan Halpenny2019-07-311-5/+46
| | | | | | | | | | | | The implementation checks the types and kinds of the LHS and RHS. In the happy path it unions the HashMap prefering keys on the RHS over the LHS, and the result is the type of the resulting HashMap. The error cases are: - If the kinds of the records differ it results in a RecordMismatch error. - If either the LHS or RHS are not records it results in a MustCombineRecord error.
* Finish implementing binary encodingNadrieril2019-05-121-6/+8
|
* clippyNadrieril2019-05-122-120/+112
|
* Include success or failure prefix in test filteringNadrieril2019-05-122-6/+6
|
* Implement binary encodingNadrieril2019-05-125-25/+310
| | | | Closes #39
* Write a custom map type that allows duplicatesNadrieril2019-05-101-29/+38
|
* Merge Type and TypedNadrieril2019-05-092-104/+54
|
* Fix missing methods for testsNadrieril2019-05-091-0/+8
|
* Make visibilities more consistentNadrieril2019-05-095-57/+51
|
* Rewrite Deserialize trait around new Value and TypeNadrieril2019-05-091-7/+1
|
* Rewrite the StaticType trait and everything around itNadrieril2019-05-092-47/+12
|
* Tweak TypedNadrieril2019-05-091-15/+16
|
* Reduce the distance between Type and TypedNadrieril2019-05-092-109/+97
|
* Remove TypeIntermediate in favor of special-purpose functionsNadrieril2019-05-091-214/+183
|
* Small utility SubExpr::from_builtinNadrieril2019-05-091-9/+3
|
* ExprF need not be generic in LabelNadrieril2019-05-092-7/+5
|
* Make shift fallible and improve shift ergonomicsNadrieril2019-05-092-11/+20
|
* Detect duplicate record fields in typecheckNadrieril2019-05-093-71/+71
|
* Generate normalization tests automaticallyNadrieril2019-05-092-368/+0
|
* Correctly shift free variables in normalizationNadrieril2019-05-091-1/+1
|
* Update dhall-lang submoduleNadrieril2019-05-092-15/+37
|
* Typecheck record projectionNadrieril2019-05-081-7/+30
|
* Typecheck mergeNadrieril2019-05-082-12/+90
|
* Move binop normalization into a separate functionNadrieril2019-05-081-165/+153
|
* Implement normalization for record merging operatorsNadrieril2019-05-082-21/+113
|
* Rename the record combining operators internallyNadrieril2019-05-081-3/+3
|
* Implement normalization of missing builtinsNadrieril2019-05-081-21/+68
|
* Don't discard normalization work done by typecheckingNadrieril2019-05-071-52/+93
|
* Slight improvement to typecheck ergonomicsNadrieril2019-05-071-59/+28
|
* Unify typecheck and normalization contextsNadrieril2019-05-072-5/+2
|
* Promote shift and subst_shift to traitsNadrieril2019-05-073-29/+42
|
* Move AlphaVar and AlphaLabel into a new moduleNadrieril2019-05-071-1/+2
|
* Small mistakeNadrieril2019-05-071-1/+3
|
* Clean up some of the SubExpr type-changing methodsNadrieril2019-05-072-4/+4
|
* Unify Type, TypeInternal and TypedNadrieril2019-05-072-116/+43
|
* Move main datatypes into their own modulesNadrieril2019-05-063-1194/+160
|
* Consolidate errors in the error moduleNadrieril2019-05-064-125/+25
|
* Reorganize dhall into a phase structureNadrieril2019-05-066-0/+4093