lewa/words/utils/showContentWord.dhall

9 lines
203 B
Plaintext

let ContentWord = ../types/ContentWord.dhall
let render
: ContentWord.Type → Text
= λ(word : ContentWord.Type) →
"| ${word.word} | ${word.gloss} | ${word.definition} |"
in render