theorem-provers/gamarjoba.lean
2022-05-30 17:40:22 -07:00

14 lines
226 B
Plaintext

import system.io
open io
def greet (s : string) : io unit :=
put_str $ "Hello, " ++ s ++ "!\n"
def main: io unit := do
put_str "Gamarjoba, munde!\n",
put_str "Onamae wa? ",
name <- get_line,
greet name