https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
6 lines
110 B
ReasonML
6 lines
110 B
ReasonML
let sayHello = () => {
|
|
let fromWhom = "From Reason";
|
|
print_endline("Hello " ++ fromWhom);
|
|
};
|
|
|
|
sayHello();
|