diff options
Diffstat (limited to 'dhall')
-rw-r--r-- | dhall/build.rs | 1 | ||||
-rwxr-xr-x | dhall/compare.fish | 9 | ||||
-rw-r--r-- | dhall/src/normalize.rs | 2 |
3 files changed, 2 insertions, 10 deletions
diff --git a/dhall/build.rs b/dhall/build.rs index f7a31c0..e80115f 100644 --- a/dhall/build.rs +++ b/dhall/build.rs @@ -23,6 +23,7 @@ fn dhall_files_in_dir<'a>(dir: &'a Path) -> impl Iterator<Item = String> + 'a { fn main() -> std::io::Result<()> { println!("cargo:rerun-if-changed=../dhall-lang/.git"); + println!("cargo:rerun-if-changed=../.git/modules/dhall-lang/refs/heads/master"); let out_dir = env::var("OUT_DIR").unwrap(); let tests_dir = Path::new("../dhall-lang/tests/"); diff --git a/dhall/compare.fish b/dhall/compare.fish deleted file mode 100755 index 154f06a..0000000 --- a/dhall/compare.fish +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env fish - -set dhall_hs_path ../dhall -set dhall_hs $dhall_hs_path/.stack-work/install/**/bin/dhall -set dhall_rs target/debug/dhall -set input_file $argv[1] -diff -u \ - --label "dhall-hs < $input_file" (eval $dhall_hs < $input_file ^&1 | psub) \ - --label "dhall-rs < $input_file" (eval $dhall_rs < $input_file ^&1 | psub) diff --git a/dhall/src/normalize.rs b/dhall/src/normalize.rs index cd4669d..7574c2f 100644 --- a/dhall/src/normalize.rs +++ b/dhall/src/normalize.rs @@ -85,7 +85,7 @@ where dhall_expr!( g (List a0) - (λ(a : a0) -> λ(as : List a1) -> [ a ] # as) + (λ(x : a0) -> λ(xs : List a1) -> [ x ] # xs) ([] : List a0) ), rest, |