mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
9 lines
261 B
Text
9 lines
261 B
Text
module { appId } -> [fnAnnotatedAsValue, missingArg]
|
|
|
|
fnAnnotatedAsValue : Str
|
|
fnAnnotatedAsValue = \postId, commentId ->
|
|
"/posts/$(postId)/comments/$(Num.toStr commentId)"
|
|
|
|
missingArg : Str -> Str
|
|
missingArg = \postId, _ ->
|
|
"/posts/$(postId)/comments"
|