"it" is a reserved keyword for the loop (anaphoric) macro (Stack Overflow) stackoverflow.com/questio…
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/dzecniv
πŸ“…︎ Aug 01 2018
🚨︎ report
Anaphoric macros - writing concise code dev.to/adasomg/anaphoric-…
πŸ‘︎ 18
πŸ’¬︎
πŸ‘€︎ u/adaso
πŸ“…︎ Dec 09 2018
🚨︎ report
Anaphoric macros in PHP? Any programmers here familiar with the concept?
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/saintpetejackboy
πŸ“…︎ Jul 22 2018
🚨︎ report
Anaphoric
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/recursivelimit
πŸ“…︎ Mar 03 2017
🚨︎ report
Help With Anaphoric Macro

I used to write CL daily but sadly haven't touched it in quite some time. I also don't believe I ever used macros so extensively (beyond with-x style macros). I also recall that extensive abuse of anaphoric macros is a bad idea.

However, I'm trying to inject some more CL into my daily routine, and had a particular case where I want to make use of anaphora. I have a CL instance running that I use to notify me of some things, run some jobs manually and/or automatically. I'd like to write these monitoring pieces using something more human than what I have now.

I have a function that, given some config values, outputs a list of assoc lists of current state variables:

(defun get-state (conn line)
  (declare (ignore conn line)) ; removed to simplify
  '((("Count" . 7) ("Stage" . 6) ("LastUser" . "Mary"))
    (("Count" . 3) ("Stage" . 4) ("LastUser" . "Ted"))))

And I write something like the function below where I basically write something like below (I could use remove-if-not below, but this is a simplified form):

(defun monitor-when-ted-modified (conn line)
  (let ((states (get-state conn line)))
    (loop for state in states
          when (equalp (assoc-value state "LastUser" :test #'equalp) "Ted")
          collect state)))

I have a few scenarios such as "send all filtered results", "send if single result > N" (which can be stated as a sort of the previous scenario), "send if results change."

Before I get too far down the rabbit hole, taking the ted-modified example, what I'd like next is something more like:

(defmonitor ("ted-conn" "ted-line")
    (equalp lastuser "Ted"))

I've implemented this, which assumes a single assoc list, for the time being.

(defun alist-to-let-clause (alist)
  (loop for (key . value) in alist
        collect (list (intern (string-upcase key)) value)))

(defmacro amonitor (alist &body body)
  (with-gensyms (let-clause)
    `(let ((,let-clause ,@(alist-to-let-clause ,alist)))
       (let ((it "ok!") ;; testing ability to use "it"
              ,@let-clause)
         ,@body))))

> (amonitor (first (get-state 1 2)) 1)

(FIRST (GET-STATE 1 2)) 
Error: Cannot take CAR of FIRST.

Now, it appears as though the expansion isn't occurring as I expect for the assoc list.

I started playing around with the above but have clearly (imo) forgotten how macros work. In the interest of both educating myself and in getting off the ground, I'd

... keep reading on reddit ➑

πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/alexeistukov
πŸ“…︎ May 28 2012
🚨︎ report
Two linguists were walking down the street. Which one was an expert in deixis and anaphoric reference resolution strategies?

The other one.

πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/Naznarreb
πŸ“…︎ Dec 30 2013
🚨︎ report
I shared a shuttle ride today with a linguist heading to Turkey to study Tuva throat singers. (No joke!) I was reminded of this joke: Two linguists were walking down the street. Which one was the expert in contextually-indicated deixis and anaphoric reference resolution strategies?

The other one.

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/itoowantone
πŸ“…︎ Mar 14 2014
🚨︎ report
Anaphoric macros in elisp github.com/rolandwalker/a…
πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/zoidberghoneydew
πŸ“…︎ Feb 22 2013
🚨︎ report
breadth first tree traversal using anaphoric macros jng.imagine27.com/article…
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/lucyfor
πŸ“…︎ Oct 24 2010
🚨︎ report
πŸ‘︎ 13
πŸ’¬︎
πŸ‘€︎ u/recursivelimit
πŸ“…︎ Mar 02 2017
🚨︎ report
Old Hanford, Ca mathrock band back in the early 2000's / Peel Apparition - An Anaphoric Existence myspace.com/peelapparitio…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/buenopower
πŸ“…︎ Jun 16 2013
🚨︎ report
AlizΓ©e's first two albums Gourmandises and Mes Courants Electriques with regular, instrumental, singles/radio and alternative versions in a vinyl 6-LP boxset by Anaphore Music
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/AlizeeC
πŸ“…︎ Aug 14 2021
🚨︎ report
Question about bindings & anaphors

Can bindings involve more than one sentences? From every examples I found in my book, the bindings only happen in one sentence. However, in my native language (Malay) it seems possible to see bindings although the antecedent and anaphors are separated between a few sentences.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/br0khalis
πŸ“…︎ May 28 2021
🚨︎ report
What are your thoughts on NASA hiring 24 theologians to study how we will react to aliens?

I heard about this recently and wanted to see what others think about it and what it could entail.

πŸ‘︎ 181
πŸ’¬︎
πŸ“…︎ Dec 29 2021
🚨︎ report
SERIOUS: This subreddit needs to understand what a "dad joke" really means.

I don't want to step on anybody's toes here, but the amount of non-dad jokes here in this subreddit really annoys me. First of all, dad jokes CAN be NSFW, it clearly says so in the sub rules. Secondly, it doesn't automatically make it a dad joke if it's from a conversation between you and your child. Most importantly, the jokes that your CHILDREN tell YOU are not dad jokes. The point of a dad joke is that it's so cheesy only a dad who's trying to be funny would make such a joke. That's it. They are stupid plays on words, lame puns and so on. There has to be a clever pun or wordplay for it to be considered a dad joke.

Again, to all the fellow dads, I apologise if I'm sounding too harsh. But I just needed to get it off my chest.

πŸ‘︎ 16k
πŸ’¬︎
πŸ‘€︎ u/anywhereiroa
πŸ“…︎ Jan 15 2022
🚨︎ report
Is there a syntactic/semantic account of how and why quantifiers can be used pronominally/anaphorically?

Most, if not all, English quantifiers can be used anaphorically as exemplified in the somewhat forced but grammatical discourse in (1) where every quantifier refers to the 'dogs' of the first clause.

(1) I love dogs. Most are furry but some are bald. I have three, but I would like to get more.

Now I'm not a semanticist, maybe this pronounhood easily derives from the way quantifiers are defined as quantifiers binding a variable, but I don't recall ever seeing the analysis anywhere and it doesn't look obvious to me. Or maybe it requires positing a silent pro, but I feel like that would have been made a bigger deal out of in discussions of silent arguments if English needed pro to handle something this ubiquitous.

Never mind the analysis, I don't recall seeing even a description of the basic facts, or a mention of quantifiers in surveys of anaphoras, or a discussion of the cross-linguistics of it. In fact I cannot even find the basic statement/observation that quantifiers in general can be used anaphorically stated anywhere, but that might just be me not knowing what to search for.

Interestingly, 'one-replacement', aka 'anaphoric-one' is a specific instance of this quantifier anaphora and it has an important place in the history of formal syntax and in the study of anaphora, but the analyses I can find do not even treat one as a quantifier, e.g. Payne, Pullum, Scholz, & Berlage (2013) give one the type <e,t> of a count noun, so I don't think you can extend their analysis to other quantifiers.

Other observations:

  • They can do all the interesting things pronouns can do like donkey anaphora, paycheck sentences,

(2) Every person who owns multiple dogs feeds some more than others.

(3) The man who gives dogs to his children is wiser than the man gives a few to his parents

  • universal quantifiers, both positive and negative, seem to be pragmatically more restricted as anaphora than existentials, numerals, and non-first-order quantifiers. Compare (1) above to (4a). They do better with an overt pronoun like all of them or none of them like in (4b).

(4) I love dogs.

a. #?All are furry and none are bald.

b. All of them are furry and none of them are bald.

They're better when the antecendant is itself quantified with all or an otherwise 'big' quantifier. This seems to have to do with emphasis or contrast.

(5) Of all my dogs, none have health issues.

(6) I've met thousands of dogs and none was ever a

... keep reading on reddit ➑

πŸ‘︎ 6
πŸ’¬︎
πŸ“…︎ Mar 24 2020
🚨︎ report
Blind Girl Here. Give Me Your Best Blind Jokes!

Do your worst!

πŸ‘︎ 5k
πŸ’¬︎
πŸ‘€︎ u/Leckzsluthor
πŸ“…︎ Jan 02 2022
🚨︎ report
This subreddit is 10 years old now.

I'm surprised it hasn't decade.

πŸ‘︎ 14k
πŸ’¬︎
πŸ‘€︎ u/frexyincdude
πŸ“…︎ Jan 14 2022
🚨︎ report
Dropped my best ever dad joke & no one was around to hear it

For context I'm a Refuse Driver (Garbage man) & today I was on food waste. After I'd tipped I was checking the wagon for any defects when I spotted a lone pea balanced on the lifts.

I said "hey look, an escaPEA"

No one near me but it didn't half make me laugh for a good hour or so!

Edit: I can't believe how much this has blown up. Thank you everyone I've had a blast reading through the replies πŸ˜‚

πŸ‘︎ 19k
πŸ’¬︎
πŸ‘€︎ u/Vegetable-Acadia
πŸ“…︎ Jan 11 2022
🚨︎ report
What starts with a W and ends with a T

It really does, I swear!

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/PsychedeIic_Sheep
πŸ“…︎ Jan 13 2022
🚨︎ report
What do you call quesadillas you eat in the morning?

Buenosdillas

πŸ‘︎ 12k
πŸ’¬︎
πŸ‘€︎ u/FarronKeepSucks
πŸ“…︎ Jan 14 2022
🚨︎ report
What is a a bisexual person doing when they’re not dating anybody?

They’re on standbi

πŸ‘︎ 11k
πŸ’¬︎
πŸ‘€︎ u/Toby-the-Cactus
πŸ“…︎ Jan 12 2022
🚨︎ report
Geddit? No? Only me?
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/shampy311
πŸ“…︎ Dec 28 2021
🚨︎ report
I wanna hear your best airplane puns.

Pilot on me!!

πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/Paulie_Felice
πŸ“…︎ Jan 07 2022
🚨︎ report
E or ß?
πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/Amazekam
πŸ“…︎ Jan 03 2022
🚨︎ report
No spoilers
πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/Onfour
πŸ“…︎ Jan 06 2022
🚨︎ report
Covid problems
πŸ‘︎ 7k
πŸ’¬︎
πŸ‘€︎ u/theincrediblebou
πŸ“…︎ Jan 12 2022
🚨︎ report
These aren't dad jokes...

Dad jokes are supposed to be jokes you can tell a kid and they will understand it and find it funny.

This sub is mostly just NSFW puns now.

If it needs a NSFW tag it's not a dad joke. There should just be a NSFW puns subreddit for that.

Edit* I'm not replying any longer and turning off notifications but to all those that say "no one cares", there sure are a lot of you arguing about it. Maybe I'm wrong but you people don't need to be rude about it. If you really don't care, don't comment.

πŸ‘︎ 12k
πŸ’¬︎
πŸ‘€︎ u/Lance986
πŸ“…︎ Dec 15 2021
🚨︎ report
I had a vasectomy because I didn’t want any kids.

When I got home, they were still there.

πŸ‘︎ 10k
πŸ’¬︎
πŸ‘€︎ u/demotrek
πŸ“…︎ Jan 13 2022
🚨︎ report
What did 0 say to 8 ?

What did 0 say to 8 ?

" Nice Belt "

So What did 3 say to 8 ?

" Hey, you two stop making out "

πŸ‘︎ 9k
πŸ’¬︎
πŸ‘€︎ u/designjeevan
πŸ“…︎ Jan 03 2022
🚨︎ report
Spi__
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/Fast_Echidna_8520
πŸ“…︎ Jan 11 2022
🚨︎ report
I dislike karma whores who make posts that imply it's their cake day, simply for upvotes.

I won't be doing that today!

πŸ‘︎ 15k
πŸ’¬︎
πŸ‘€︎ u/djcarves
πŸ“…︎ Dec 27 2021
🚨︎ report
The Ancient Romans II
πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/mordrathe
πŸ“…︎ Dec 29 2021
🚨︎ report
I'd like to dedicate this joke to my wisdom teeth.

[Removed]

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/ThoughtPumP
πŸ“…︎ Jan 14 2022
🚨︎ report
How do you stop Canadian bacon from curling in your frying pan?

You take away their little brooms

πŸ‘︎ 6k
πŸ’¬︎
πŸ‘€︎ u/Majorpain2006
πŸ“…︎ Jan 09 2022
🚨︎ report
I did it, I finally did it. After 4 years and 92 days I went from being a father, to a dad.

This morning, my 4 year old daughter.

Daughter: I'm hungry

Me: nerves building, smile widening

Me: Hi hungry, I'm dad.

She had no idea what was going on but I finally did it.

Thank you all for listening.

πŸ‘︎ 17k
πŸ’¬︎
πŸ‘€︎ u/Sk2ec
πŸ“…︎ Jan 01 2022
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.