lewa/words/utils/showParticleWord.dhall

17 lines
275 B
Plaintext
Raw Normal View History

2020-05-18 11:53:10 +00:00
let ParticleWord = ../types/ParticleWord.dhall
let render
: ParticleWord.Type → Text
= λ(word : ParticleWord.Type) →
''
### ${word.word}
family: ${word.family}
*${word.gloss}*
${word.definition}
''
in render