Closed plicease closed 7 years ago
Thanks for DC.PM (http://dc.pm.org) for working through how to get closures to work last night!
I've combined #1, #2, #3 and #4 as well as a .gitignore
into my combined branch:
https://github.com/plicease/NativeCall/tree/combined
with the conflicts already fixed.
I do like using /r
in code, but since this module is a bit toolchain-ish, I don't want to require 5.14. Could you rework it to not need /r
?
Also there's no docs to explain what the "closure type" actually means!
Having read and merged #2 I'm now happy with the 5.14 and the /r
. We still need a note in the docs to say this thing is possible, though.
Could you rebase this and help out with the conflicts that arise? A suitable .gitignore
would be really helpful too!
sure will address this tomorrow.
rebased, gitignored and documented.
This lets you use closure types which look something like this:
(int)->int
or(int,int)->int
.