mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-06 21:28:01 +00:00
12 lines
210 B
Text
12 lines
210 B
Text
module [
|
|
add_and_stringify,
|
|
]
|
|
|
|
import Transitive
|
|
|
|
add_and_stringify = \num1, num2 ->
|
|
Num.to_str(Transitive.add(num1, num2))
|
|
|
|
expect add_and_stringify(1, 2) == "3"
|
|
|
|
expect add_and_stringify(3, 4) == "7"
|