18 lines
250 B
Text
18 lines
250 B
Text
fun is_hello(x:string) -> bool {
|
|
x == "hello"
|
|
}
|
|
|
|
fun is_23(x:f64) -> bool {
|
|
x == 23.0
|
|
}
|
|
|
|
fun is_false(x:bool) -> bool {
|
|
x == false
|
|
}
|
|
|
|
fun test() -> bool {
|
|
is_hello("hello") and is_23(23) and is_false(false)
|
|
}
|
|
|
|
// @no-errors
|
|
// @eval: Bool(true)
|