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/
export {LD_,}LIBRARY_PATH=/usr/local/opt/openssl/lib
in your shell and proceed normally
Does Crystal have something like Intersection Types ? [0]
I'm a bit confused, because I think unions behave differently [0]
[0] - https://flow.org/en/docs/types/unions/
Maybe it's not valid to compare Flow & Crystal :sweat_smile:
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.