Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcz committed Sep 29, 2023
1 parent 908e82d commit d9eff56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions tests/benchmark/maybe/juvix/maybe.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ gen : Nat → Tree

terminating
sum : Nat → Tree → Maybe Nat

| x leaf := just 0
| x (node y l r) :=
if (x == y) nothing (step1 x y (sum x l) r);
Expand All @@ -35,12 +34,11 @@ maybeStepRun : Nat → Nat → Maybe Nat
| x y := just (sub y x);

run : Nat → Tree → Maybe Nat

| zero t := sum 0 t
| (suc n) t := stepRun (suc n) t (run n t);

stepRun : Nat → Tree → Maybe Nat → Maybe Nat

| n t nothing := sum n t
| n t (just x) := maybe nothing (maybeStepRun x) (sum n t);

Expand Down
1 change: 0 additions & 1 deletion tests/benchmark/mergesort/juvix/mergesort.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ merget : List Nat → List Nat → List Nat → List Nat

terminating
sort' : List Nat × List Nat → List Nat

| (l1, l2) := merget (sort l1) (sort l2) nil;

terminating
Expand Down

0 comments on commit d9eff56

Please sign in to comment.