mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Simplify combine
This commit is contained in:
parent
4bfac11624
commit
c1a7e7893b
1 changed files with 2 additions and 2 deletions
|
@ -3712,7 +3712,7 @@ fn recursive_lambda_set_issue_3444() {
|
||||||
assert_evals_to!(
|
assert_evals_to!(
|
||||||
indoc!(
|
indoc!(
|
||||||
r#"
|
r#"
|
||||||
combine = \a, b -> (\x -> b (a x))
|
combine = \f, g -> \x -> g (f x)
|
||||||
const = \x -> (\_y -> x)
|
const = \x -> (\_y -> x)
|
||||||
|
|
||||||
list = [const "a", const "b", const "c"]
|
list = [const "a", const "b", const "c"]
|
||||||
|
@ -3735,7 +3735,7 @@ fn recursive_lambda_set_toplevel_issue_3444() {
|
||||||
r#"
|
r#"
|
||||||
app "test" provides [main] to "./platform"
|
app "test" provides [main] to "./platform"
|
||||||
|
|
||||||
combine = \a, b -> (\x -> b (a x))
|
combine = \f, g -> \x -> g (f x)
|
||||||
const = \x -> (\_y -> x)
|
const = \x -> (\_y -> x)
|
||||||
|
|
||||||
list = [const "a", const "b", const "c"]
|
list = [const "a", const "b", const "c"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue