mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-13 07:16:18 +00:00
14 lines
247 B
Text
14 lines
247 B
Text
interface Direct
|
|
exposes [
|
|
addAndStringify,
|
|
]
|
|
imports [
|
|
Transitive,
|
|
]
|
|
|
|
addAndStringify = \num1, num2 ->
|
|
Num.toStr (Transitive.add num1 num2)
|
|
|
|
expect addAndStringify 1 2 == "3"
|
|
|
|
expect addAndStringify 3 4 == "7"
|