Brendan Zabarauskas@brendanzabReplying to @tritlo and @typeswitchWouldn't this be the eliminators then? But on second thought I guess that those would still be producing expressions… 🤔9:28 AM · Mar 22, 2022·Twitter Web App1 Like
Matthías Páll Gissurarson @ ICFP@tritlo·Mar 22Replying to @brendanzab and @typeswitchCould be, I sometimes confuse the two 😅
gelisam@haskell_cat·Mar 22Replying to @brendanzab @tritlo and @typeswitchConstructor: Cons 1 Nil Pattern: length (Cons _ xs) = 1 + length xs Eliminator: tail xs Copattern: head (repeat x) = x tail (repeat x) = repeat x2
Rob Rix@rob_rix·Mar 22Replying to @brendanzab @tritlo and @typeswitchPatterns are eliminators. The µµ̃ calculus and especially System L (see Downen's thesis) surface this really beautifully IMO!3