The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
main
can someone help explain the usage of
fun
outside of alib
declaration to me?
I think the fun
usage outside libs is very limited, fun
doesn't support overloading and only support basic types, I think it is more like a C function, thinking on shared libraries or similar stuff.