The presumption that they lie otherwise seems to be implicit here... On Sun, Oct 26, 2008 at 11:54 AM, Raul Miller <[EMAIL PROTECTED]> wrote:
> On Sun, Oct 26, 2008 at 11:16 AM, Björn Helgason <[EMAIL PROTECTED]> wrote: > > Another experiment > > We have two people Anna and Björn > > They tell the truth on following days > > > > annas=. 'Monday';'Tuesday';'Wednesday';'Thursday' > > > > bjorns=.'Sunday';'Monday';'Friday';'Saturday' > > > > Did you tell a lie yesterday? > > > > What day did they both answer yes? > > days=:;:'Sunday Monday Tuesday Wednesday Thursday Friday Saturday' > cool=: #&days :.(days&e.) > warm=: days&e. :.(#&days) > annas=: cool 0 1 1 1 1 0 0 > bjorns=:cool 1 1 0 0 0 1 1 > admit=: (~: _1&|.)&.warm > annas *.&.warm&(admit) bjorns > +------+ > |Friday| > +------+ > > Note that my expressions for defining annas and bjorns look > different from yours but produce the same results. You could > replace mine with yours, if you prefer. > > -- > Raul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Use Reply-To: & thread your email after the first: or it may take a while, as I get 2000+ emails per day. -- Roy A. Crabtree UNC '76 gaa.lifer# 11086 703-318-2106 (msgs only, use my name) (mail, residence) Roy A. Crabtree 3322 Wheeler Road SE Oak Hill Apartments #T-4 Washington, DC 20032-4166 (secondary mail) Roy A. Crabtree USPS POB 58097 Washington, DC 20034-8097 [When you hear/read/see/feel what a y*ehudi plays/writes/sculpts/holds] [(n)either violinist {Menuhin} (n)or writer {"The Y*ehudi Principle"} (n)or molder (n)or older] [you must strive/think/look/sense all of it, or you will miss the meanings of it all] [EMAIL PROTECTED] Forwards only to: [EMAIL PROTECTED] [EMAIL PROTECTED] CC: auto to ^ http://musings-roy-crabtree.blogspot.com [& others] http://www.authorsden.com/royacrabtree http://skyscraper.fortunecity.com/activex/720/resume/full.doc -- (c) RAC/IP, ARE,PRO,PAST (Copyright) Roy Andrew Crabtree/In Perpetuity All Rights/Reserved Explicitly Public Reuse Only Profits Always Safe Traded ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
