-
-
Save jeaye/1b24173fc5e0a0b0a965 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(bind meow "kitty") | |
(ƒ show (s string) () | |
(print s)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function-body | |
(return-type | |
(type-reference | |
(definition | |
(type-definition | |
(name null) | |
(members) | |
(generics))))) | |
(cells | |
(binding-definition | |
(name meow) | |
(type | |
(type-reference | |
(definition | |
(type-definition | |
(name string) | |
(members) | |
(generics))))) | |
(cell | |
(literal-value | |
(type string) | |
(value | |
kitty)))) | |
(function-definition | |
(name show) | |
(arguments | |
(argument | |
(name s) | |
(type | |
(type-reference | |
(definition | |
(type-definition | |
(name | |
string) | |
(members) | |
(generics))))))) | |
(return-type | |
(type-reference | |
(definition | |
(type-definition | |
(name null) | |
(members) | |
(generics))))) | |
(body | |
(function-body | |
(return-type | |
(type-reference | |
(definition | |
(type-definition | |
(name null) | |
(members) | |
(generics))))) | |
(cells | |
(native-function-call | |
(name print) | |
(arguments | |
(argument | |
(name s) | |
(cell | |
(binding-reference | |
(definition | |
(binding-definition | |
(name | |
s) | |
(type | |
(type-reference | |
(definition | |
(type-definition | |
(name | |
string) | |
(members) | |
(generics))))) | |
(cell | |
(function-body | |
(return-type | |
(type-reference | |
(definition | |
(type-definition | |
(name) | |
(members) | |
(generics))))) | |
(cells)))))))))) | |
(return-statement | |
(cell | |
(literal-value | |
(type null) | |
(value | |
null))) | |
(expected-type | |
(type-reference | |
(definition | |
(type-definition | |
(name | |
null) | |
(members) | |
(generics)))))))))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment