1
0
Fork 0
forked from fun/fun
fun/examples/have_fun_function.fun

22 lines
402 B
Standard ML
Executable file

#!/usr/bin/env fun
/*
* This file is part of the Fun programming language.
* https://hanez.org/project/fun/
*
* Copyright 2025 Johannes Findeisen <you@hanez.org>
* Licensed under the terms of the ISC license.
* https://opensource.org/license/isc-license-txt
*/
// Have fun in Fun
string s = "Have fun!"
fun have_fun()
print("Have fun!")
print(s)
number n = 10
print(n)
have_fun()