greet.tri (208B)
1 !import prelude * 2 !import io * 3 !export * 4 5 -- Greet and return a pure value. 6 -- putStrLn writes to stdout; pure lifts "done" into IO. 7 8 main = io <| 9 bind (putStrLn (append "Hello, " "tricu")) 10 (_ : pure "")
tricuAn interpreted language for exploring Tree Calculus | |
| Log | Files | Refs | README | LICENSE |