Clause contexts #
This file defines Clause.Context, the [sadock-zwicky-1985] sentence types
with the interrogative split into polar, alternative, and constituent
subtypes. Clause.Embedding is the orthogonal embedding axis;
Semantics.Mood.IllocutionaryMood, Semantics.Mood.ClauseType, and
Features.ClauseForm are coarser cuts.
A [sadock-zwicky-1985] sentence type, with interrogatives subtyped.
- declarative : Context
- polarInterrogative : Context
- alternativeInterrogative : Context
Alternative question ("Is it A or B?").
- constituentInterrogative : Context
Constituent (wh-) question.
- imperative : Context
- exclamative : Context
Instances For
@[implicit_reducible]
Equations
- Clause.instDecidableEqContext x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- One or more equations did not get rendered due to their size.
- Clause.instReprContext.repr Clause.Context.declarative prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Clause.Context.declarative")).group prec✝
- Clause.instReprContext.repr Clause.Context.imperative prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Clause.Context.imperative")).group prec✝
- Clause.instReprContext.repr Clause.Context.exclamative prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Clause.Context.exclamative")).group prec✝
Instances For
@[implicit_reducible]
Equations
- Clause.instReprContext = { reprPrec := Clause.instReprContext.repr }
The interrogative cells.
Equations
Instances For
@[implicit_reducible]
Equations
- One or more equations did not get rendered due to their size.