forked from witchcrafters/quark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
defpartial
and defcurry
do not support zero arity functions w…
…ithout parentheses witchcrafters#45
- Loading branch information
Vadim Tsvetkov
committed
Jun 22, 2022
1 parent
2e8b6d5
commit 78ea435
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,4 +100,5 @@ defmodule Quark.Curry do | |
end | ||
|
||
defp wrap([], body), do: body | ||
defp wrap(nil, body), do: body | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters