Skip to content

Commit d05385f

Browse files
committed
tx-firehose: prefer where over let for local bindings
Sweep the tx-firehose sources to use where clauses instead of let ... in wherever it's in scope. Only the let bindings that close over IO-bound values or lambda-captured variables (where a where clause can't reach) are kept as let. Also: switch feeLovelace's local pattern-let to a where-level pattern binding on the Coin newtype for the same reason.
1 parent 14b0cf3 commit d05385f

3 files changed

Lines changed: 389 additions & 329 deletions

File tree

0 commit comments

Comments
 (0)