home
/
code
/
hope.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Request arity directly.
[hope.git]
/
src
/
hope_fun.erl
diff --git
a/src/hope_fun.erl
b/src/hope_fun.erl
index
1f8669c
..
c2443ce
100644
(file)
--- a/
src/hope_fun.erl
+++ b/
src/hope_fun.erl
@@
-13,7
+13,7
@@
id(X) ->
-spec curry(fun()) ->
fun().
curry(F) ->
- {
some, Arity} = hope_kv_list:get(erlang:fun_info(F)
, arity),
+ {
arity, Arity} = erlang:fun_info(F
, arity),
curry(F, [], Arity).
-spec curry(fun(), list(), integer()) ->
This page took
0.017215 seconds
and
4
git commands to generate.