Skip to content
Permalink
Branch: master
Commits on Aug 15, 2019
  1. Small fixes for β-normalization (#696)

    sjakobi committed Aug 15, 2019
Commits on Aug 7, 2019
  1. Simplify ⫽ when its arguments are equivalent (#684)

    sjakobi committed Aug 7, 2019
    We already have analogous rules for `||` and `&&`, which are idempotent
    too.
    
    The remaining idempotent operators are `∧` and `⩓`, but the type
    system doesn't allow any interesting arguments for these.
  2. β-normalization: Simplify some equivalence-based rules (#687)

    sjakobi committed Aug 7, 2019
    Equivalence includes β-normalization, so it's unnecessary to
    normalize arguments before comparing them.
  3. Add missing symmetric rules for field selection normalization (#682)

    sjakobi committed Aug 7, 2019
    Follow-up to #664.
Commits on Aug 6, 2019
  1. Add normalization test for (Natural/subtract 0) (#692)

    sjakobi committed Aug 6, 2019
    This turned out to be a tricky case for the Haskell implementation
    (see dhall-lang/dhall-haskell#1194).
Commits on Jul 30, 2019
  1. Normalize field selection further by inspecting the argument (#664)

    sjakobi committed Jul 30, 2019
    Inspired by #661.
Commits on Jul 22, 2019
  1. Fix type-inference for toMap (#651)

    sjakobi and Gabriel439 committed Jul 22, 2019
    Previously the rule seemed to say that the type of a toMap expression is the type (kind) of its type annotation.
    
    Co-Authored-By: Gabriel Gonzalez <Gabriel439@gmail.com>
Commits on Jul 21, 2019
  1. potPourriB.dhallb: Fix encoding of query string (#655)

    sjakobi committed Jul 21, 2019
    Original URL (potPourriA.dhall):
    
        https://-._~%2C!$&'*+;=:@0abc1--12a------a-a--a-0/foo?/-._~%2C!$&'*+;=:@/?
    
    JSON representation of the original binary:
    
        [
            24,
            null,
            0,
            1,
            null,
            "-._~%2C!$&'*+;=:@0abc1--12a------a-a--a-0",
            "foo",
            "/-._~%2C!$&%27*+;=:@/?"
        ]
    
    JSON representation of the new binary:
    
        [
            24,
            null,
            0,
            1,
            null,
            "-._~%2C!$&'*+;=:@0abc1--12a------a-a--a-0",
            "foo",
            "/-._~%2C!$&'*+;=:@/?"
        ]
    
    Diff:
    
        9c9
        <     "/-._~%2C!$&%27*+;=:@/?"
        ---
        >     "/-._~%2C!$&'*+;=:@/?"
    
    The query string was incorrectly percent-encoded in #627.
  2. dhall.abnf: Replace (ALPHA / DIGIT) with ALPHANUM (#649)

    sjakobi authored and Gabriel439 committed Jul 21, 2019
    This is a simple refactoring that applies the ALPHANUM pattern introduced in #627 more widely.
Commits on Jul 19, 2019
  1. Binary encoding: Use 28 for empty lists with non-List annotations (#644)

    sjakobi authored and Gabriel439 committed Jul 19, 2019
    Fixes #643.
Commits on Jul 17, 2019
  1. Beta normalization: Use '=' instead of '⇥' with the 'keys' helper (#642)

    sjakobi authored and Gabriel439 committed Jul 17, 2019
    …as discussed in #625 (comment)
Commits on Jul 14, 2019
  1. Beta-normalization: Sort the fields of a record projection (#625)

    sjakobi committed Jul 14, 2019
    Context: #622
  2. Generalize empty list annotations (#630)

    sjakobi authored and Gabriel439 committed Jul 14, 2019
    Previously an empty list literal had to be of the form
    
        [] : List T
    
    Code like
    
        let XList = List X
        in [] : XList
    
    would result in a parse error.
    
    This constraint is now lifted.
    
    Closes #623.
Commits on Jul 8, 2019
You can’t perform that action at this time.