Skip to content

Add Prelude/Function/composeList.dhall#1348

Merged
Gabriella439 merged 6 commits intodhall-lang:masterfrom
lrworth:compose-list
Sep 10, 2023
Merged

Add Prelude/Function/composeList.dhall#1348
Gabriella439 merged 6 commits intodhall-lang:masterfrom
lrworth:compose-list

Conversation

@lrworth
Copy link
Copy Markdown
Contributor

@lrworth lrworth commented Aug 23, 2023

I was working with decorator pattern, starting with a base value and applying a sequence of transformations to it. This results in a deeply nested structure, so I wrote this function to help.

@Gabriella439
Copy link
Copy Markdown
Contributor

If you apply this diff to ./tests/type-inference/success/preludeB.dhall then I think you should be good: https://hydra.dhall-lang.org/log/cgwvx07n5sl8gksihlaydskmx8h15xp6-test-files-lint.drv

Copy link
Copy Markdown
Contributor

@Gabriella439 Gabriella439 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can merge this after the review period is over

@Gabriella439 Gabriella439 merged commit 7a1dd93 into dhall-lang:master Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants