dhall-lang / dhall-haskell

Maintainable configuration files
https://dhall-lang.org/
BSD 3-Clause "New" or "Revised" License
912 stars 213 forks source link

Fix definition of (>>=) for Expr #2457

Closed sjakobi closed 2 years ago

sjakobi commented 2 years ago

The refactoring in #2449 introduced an infinite loop, because join is itself defined via (>>=).

Fixes #2454.

sjakobi commented 2 years ago

The Windows CI failure is due to #2452 – I'll ignore it when I merge this PR.

mmhat commented 2 years ago

@sjakobi Uh, thank you! Really don't know what I had in mind when I changed that...

sjakobi commented 2 years ago

No worries, @mmhat! I'm sure I could have made the same mistake.