17 lines
398 B
Standard ML
17 lines
398 B
Standard ML
/*
|
|
* 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 Apache-2.0 license.
|
|
* https://opensource.org/license/apache-2-0
|
|
*/
|
|
|
|
// Basic math helpers to be included from system lib:
|
|
// #include <utils/math.fun>
|
|
|
|
fun add(a, b)
|
|
return a + b
|
|
|
|
fun times(a, b)
|
|
return a * b
|