Skip to content

Commit

Permalink
Remove unnecessary type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobjpeters committed Mar 14, 2024
1 parent 8b75790 commit f37a2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ julia> @atomize fold(↔, (∧) => (p, q), (∨) => (r, s))
((p ↔ r) ∨ (p ↔ s)) ∧ ((q ↔ r) ∨ (q ↔ s))
```
"""
fold(f::Union{Function, Operator}, pairs::Pair...) = _fold(pairs...)(f)()
fold(f, pairs...) = _fold(pairs...)(f)()

# Internals

Expand Down

0 comments on commit f37a2c1

Please sign in to comment.