Skip to content

Commit

Permalink
Fix compile error on OTP 24
Browse files Browse the repository at this point in the history
  • Loading branch information
jechol committed Jan 21, 2022
1 parent fc7b202 commit 37e990b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/witchcraft/foldable.ex
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ defclass Witchcraft.Foldable do
alias __MODULE__
alias Witchcraft.{Apply, Ord, Monad, Monoid, Semigroup, Unit}

import Kernel, except: [length: 1, max: 2, min: 2, then: 2]
import Exceptional.Safe, only: [safe: 1]

require Foldable.EmptyError
Expand Down

0 comments on commit 37e990b

Please sign in to comment.