1999
DOI: 10.1007/3-540-46584-7_1
|View full text |Cite
|
Sign up to set email alerts
|

First Class Patterns?

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
25
0

Year Published

2000
2000
2018
2018

Publication Types

Select...
6
1

Relationship

0
7

Authors

Journals

citations
Cited by 24 publications
(25 citation statements)
references
References 6 publications
0
25
0
Order By: Relevance
“…This corresponds to the approaches used by Tullsen [Tullsen 2000] This setting also makes the rules (↿↾ ) and (⊘ ⊲ c → ⊘) sound (proofs are in Appendix D.4), which proves that PMC ⊘ as defined in [Kahl 2004] appropriately implements the semantics of Haskell.…”
Section: Haskellmentioning
confidence: 57%
See 1 more Smart Citation
“…This corresponds to the approaches used by Tullsen [Tullsen 2000] This setting also makes the rules (↿↾ ) and (⊘ ⊲ c → ⊘) sound (proofs are in Appendix D.4), which proves that PMC ⊘ as defined in [Kahl 2004] appropriately implements the semantics of Haskell.…”
Section: Haskellmentioning
confidence: 57%
“…Using a monad, most typically Maybe, for the semantics of pattern matching in Haskell-like languages has been proposed previously [Tullsen 2000 Since PMC offers a finer-grained, more systematic separation of pattern matching aspects from other expression evaluation aspects, choosing to interpret the two syntactic categories with separate monads is an obvious choice -the alternative of using a monad transformer deserves further exploration.…”
Section: Discussionmentioning
confidence: 99%
“…In spite of this disadvantage, we consider our pattern matching protocol, shown in Figure 2, significantly more straightforward than Newspeak's quadruple dispatch, shown in Figure 4. The idea of reifying patterns (rather than cases) as first class partial functions, and then building larger scale structures (e.g., case statements, clausal function definitions) out of pattern combinators goes back at least as far as Tullsen's first-class patterns proposal for Haskell [26]. Tullssen represents patterns as reified partial functions, and pattern combinators are thus function combinators.…”
Section: Discussion and Related Workmentioning
confidence: 99%
“…The next step will be an investigation of theory and denotational semantics of both calculi: For PMC , the most natural approach will be essentially the Maybe semantics of pattern matching as proposed in [21,9]. For PMC , the semantic domain for expressions needs to include an alternative for failure, too, to represent the semantics of empty expressions .…”
Section: Discussionmentioning
confidence: 99%
“…Similarly, Tullsen includes a primitive "failure combinator" that never succeeds among his "First Class Patterns" combinators extending Haskell [21]. He uses a purely semantic approach, with functions into a Maybe type or, more generally, into a MonadPlus as "patterns".…”
Section: Related Workmentioning
confidence: 99%