Spaces:
Sleeping
Sleeping
using Jugsaw | |
""" | |
greet(x) | |
A function returns "Hello, \$x". | |
""" | |
greet(x::String) = "Hello, $x" | |
# test input types | |
ENM X Y Z | |
const dict = Dict(3 => 5) | |
begin | helloworld|
greet("Jinguo") == "Hello, Jinguo" | |
identity((X, 1.0, 1, "string", nothing, [1, 2], dict, ComplexF64)) == (X, 1.0, 1, "string", nothing, [1, 2], dict, ComplexF64) | |
end |