mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-12 23:50:20 +03:00
Simplify combine
This commit is contained in:
parent
4bfac11624
commit
c1a7e7893b
@ -3712,7 +3712,7 @@ fn recursive_lambda_set_issue_3444() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
r#"
|
||||
combine = \a, b -> (\x -> b (a x))
|
||||
combine = \f, g -> \x -> g (f x)
|
||||
const = \x -> (\_y -> x)
|
||||
|
||||
list = [const "a", const "b", const "c"]
|
||||
@ -3735,7 +3735,7 @@ fn recursive_lambda_set_toplevel_issue_3444() {
|
||||
r#"
|
||||
app "test" provides [main] to "./platform"
|
||||
|
||||
combine = \a, b -> (\x -> b (a x))
|
||||
combine = \f, g -> \x -> g (f x)
|
||||
const = \x -> (\_y -> x)
|
||||
|
||||
list = [const "a", const "b", const "c"]
|
||||
|
Loading…
Reference in New Issue
Block a user