lewa/words/utils/showContentWord.dhall

9 lines
203 B
Plaintext
Raw Normal View History

2020-05-17 21:23:39 +00:00
let ContentWord = ../types/ContentWord.dhall
let render
: ContentWord.Type → Text
= λ(word : ContentWord.Type) →
"| ${word.word} | ${word.gloss} | ${word.definition} |"
2020-05-17 21:23:39 +00:00
in render