Imagine python, but statically typed and with curly braces.

def str greet(str name) {
    return f"Hello, {name}"
}
Jan 22, 2023, 8:00 AM
3 2 4

comments (single view)

greet :: str -> str
def greet(name) {
    return f"Hello, {name}!"
}

By the way your syntax is good, it’s just that the arrow reminded me of Haskell

View all comments