You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To clarify, Credo specifically warns on cases where apply/2 is used with a list of known size. Credo argues that if you can know the number of arguments at compile time, then you should just call the function directly, with apply/2 being reserved for more dynamic uses.
I agree that finding a way to avoid this warning would be worthwhile though!
Credo now warns by default on use of
Apply.apply
, and piping into anonymous functions. We should consider making these not conflict out of the box.See #102 (comment)
The text was updated successfully, but these errors were encountered: