Hope ![]() |
similar languages: | ML Haskell Gofer Objective Caml Miranda | |
Hello World | Michael Neumann |
"Hello World\n";
|
Prints "Hello World" onto the
screen. |
Squares | Michael Neumann |
! gibt die Quadrate von 1 bis 10 aus dec squares : num -> list(num); --- squares 0 <= nil; --- squares x <= squares(x-1) <> [x*x]; squares 10; |
Outputs the squares from 1 to
10. |