[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mutable pronouns in Lyrics
From: |
Br. Samuel Springuel |
Subject: |
Re: Mutable pronouns in Lyrics |
Date: |
Thu, 22 Dec 2016 16:45:14 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 2016-12-21 11:58 PM, Vaughan McAlley wrote:
ismale = ##f
%gender = "m" % manually set to m(ale), f(emale), n(eutral)
heshe = #(if ismale #{ he #} #{ she #})
hisher = #(if ismale #{ his #} #{ her #})
himher = #(if ismale #{ him #} #{ her #})
Hmm... Based on this idea I developed the following:
gender = "male" % manually set to male, female, neutral
heshe = #(cond ((equal? gender "male") #{ \lyricmode { he } #})
((equal? gender "female") #{ \lyricmode{ she } #})
(else #{ \lyricmode { he/she } #}))
hisher = #(cond ((equal? gender "male") #{ \lyricmode { him } #})
((equal? gender "female") #{ \lyricmode{ her } #})
(else #{ \lyricmode { his/her } #}))
himher = #(cond ((equal? gender "male") #{ \lyricmode { him } #})
((equal? gender "female") #{ \lyricmode{ her } #})
(else #{ \lyricmode { him/her } #}))
This gives me my three possibilities and throws a fit if gender isn't
defined. The error isn't totally informative (just "GUILE signaled an
error...") but it gives me what I was after.
Thanks for all the help.
--
✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝
Br. Samuel, OSB
St. Anselm’s Abbey
Washington, DC
(R. Padraic Springuel)
PAX ☧ ΧΡΙΣΤΟΣ
- Mutable pronouns in Lyrics, Br. Samuel Springuel, 2016/12/18
- Re: Mutable pronouns in Lyrics, Kieren MacMillan, 2016/12/18
- Re: Mutable pronouns in Lyrics, Br. Samuel Springuel, 2016/12/18
- Re: Mutable pronouns in Lyrics, Br. Samuel Springuel, 2016/12/20
- Re: Mutable pronouns in Lyrics, Simon Albrecht, 2016/12/20
- Re: Mutable pronouns in Lyrics, Br. Samuel Springuel, 2016/12/20
- Re: Mutable pronouns in Lyrics, Simon Albrecht, 2016/12/20
- Re: Mutable pronouns in Lyrics, Br. Samuel Springuel, 2016/12/20
- Re: Mutable pronouns in Lyrics, Vaughan McAlley, 2016/12/21
- Re: Mutable pronouns in Lyrics,
Br. Samuel Springuel <=
- Re: Mutable pronouns in Lyrics, Gerdau, Michael, 2016/12/21
- Re: Mutable pronouns in Lyrics, Simon Albrecht, 2016/12/20