summaryrefslogtreecommitdiff
path: root/dhall/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update dhall-lang submoduleNadrieril2019-08-031-2/+2
|
* Merge remote-tracking branch 'origin/master' into fintan/typecheck-combineFintanH2019-08-033-15/+58
|\
| * Add unreachable call for RightBasedRecordMerge caseFintanH2019-07-311-0/+1
| |
| * Reuse the merge_maps function to implement the right-biased unionFintanH2019-07-312-7/+7
| |
| * Add case for RightBasedRecordMerge in the typechecking phase.Fintan Halpenny2019-07-312-5/+48
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Mark RecursiveRecordMerge as unreachableFintanH2019-08-011-0/+1
| |
* | Add the typechecking of RecursiveRecordMerge.FintanH2019-08-013-8/+129
|/ | | | | | | | | This introduces an external function for HashMaps to perform an outer join so that you can do a unionWith but with more power by having a new tagert type. Using outer_join and recursively looking through records of records we have an implementation for combining records.
* Finish implementing binary encodingNadrieril2019-05-121-6/+8
|
* clippyNadrieril2019-05-126-126/+118
|
* Split-off printer and binary encoding tests from parser testsNadrieril2019-05-121-37/+59
|
* Include success or failure prefix in test filteringNadrieril2019-05-123-14/+8
|
* Implement binary encodingNadrieril2019-05-127-32/+355
| | | | Closes #39
* Write a custom map type that allows duplicatesNadrieril2019-05-101-29/+38
|
* Merge Type and TypedNadrieril2019-05-093-105/+55
|
* Fix missing methods for testsNadrieril2019-05-091-0/+8
|
* Make visibilities more consistentNadrieril2019-05-0910-125/+106
|
* Rewrite Deserialize trait around new Value and TypeNadrieril2019-05-097-88/+73
|
* Rewrite the StaticType trait and everything around itNadrieril2019-05-098-241/+191
|
* Tweak TypedNadrieril2019-05-091-15/+16
|
* Reduce the distance between Type and TypedNadrieril2019-05-093-157/+108
|
* 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-094-15/+9
|
* Make shift fallible and improve shift ergonomicsNadrieril2019-05-098-129/+169
|
* Detect duplicate record fields in typecheckNadrieril2019-05-095-77/+79
|
* Generate normalization tests automaticallyNadrieril2019-05-093-368/+5
|
* Correctly shift free variables in normalizationNadrieril2019-05-092-11/+11
|
* Update dhall-lang submoduleNadrieril2019-05-092-15/+37
|
* Typecheck record projectionNadrieril2019-05-082-7/+32
|
* Typecheck mergeNadrieril2019-05-083-12/+97
|
* Move binop normalization into a separate functionNadrieril2019-05-081-165/+153
|
* Implement normalization for record merging operatorsNadrieril2019-05-083-21/+120
|
* Rename the record combining operators internallyNadrieril2019-05-081-3/+3
|
* Implement normalization of missing builtinsNadrieril2019-05-082-23/+75
|
* Fix Context shiftingNadrieril2019-05-081-15/+24
|
* shift on lookup instead of on insertNadrieril2019-05-082-27/+71
|
* Replace hashmap-based context with a vec-based oneNadrieril2019-05-071-14/+37
|
* Don't discard normalization work done by typecheckingNadrieril2019-05-073-83/+147
|
* Slight improvement to typecheck ergonomicsNadrieril2019-05-071-59/+28
|
* Unify typecheck and normalization contextsNadrieril2019-05-075-76/+115
|
* Promote shift and subst_shift to traitsNadrieril2019-05-077-115/+161
|
* Move AlphaVar and AlphaLabel into a new moduleNadrieril2019-05-076-106/+112
|
* Small mistakeNadrieril2019-05-072-2/+4
|
* Document Value and ThunkNadrieril2019-05-072-8/+21
|
* Clean up some of the SubExpr type-changing methodsNadrieril2019-05-073-6/+6
|
* Unify Type, TypeInternal and TypedNadrieril2019-05-073-117/+43
|
* Fix deriveNadrieril2019-05-071-0/+2
|
* Move main datatypes into their own modulesNadrieril2019-05-0610-1199/+1217
|
* Move api-related modules into an api moduleNadrieril2019-05-067-38/+41
|
* Consolidate errors in the error moduleNadrieril2019-05-0642-188/+196
|