dreamstop.openfp.net, the website and user manual of dreamstop, a language for continuous disambiguation
git clone git@nixlab.openfp.net:web/dreamstop.openfp.net.git-- | What the page says that is data: its links, the three verdicts with an
-- example of each, and the minimal pair it teaches.
--
-- @since 0.1.0.0
module Site.Content
( repository
, package
, manual
, Verdict (MkVerdict, verdictName, verdictSentence, verdictAnnotations, verdictText)
, verdicts
, Side (MkSide, sideLabel, sideSentence, sideAnnotation)
, pair
, pairSlot
) where
import Data.Kind (Type)
import Miso.String (MisoString)
-- | This page's repository on the forge.
--
-- @since 0.1.0.0
repository :: MisoString
repository = "https://nixlab.openfp.net/web/dreamstop.openfp.net"
-- | The dreamstop package's repository on the forge.
--
-- @since 0.1.0.0
package :: MisoString
package = "https://nixlab.openfp.net/dreamstop/dreamstop"
-- | The user manual, published with the page.
--
-- @since 0.1.0.0
manual :: MisoString
manual = "manual/"
-- | One verdict: its name, an example sentence, the example's annotations
-- and what the verdict means for the author.
--
-- @since 0.1.0.0
type Verdict :: Type
data Verdict = MkVerdict
{ verdictName :: MisoString
, verdictSentence :: MisoString
, verdictAnnotations :: [MisoString]
, verdictText :: MisoString
}
-- | Clear, ambiguous and nonsense, each with an example.
--
-- @since 0.1.0.0
verdicts :: [Verdict]
verdicts =
[ MkVerdict
"Clear"
"The shell no longer accepts unsigned commands."
["[ASR·HAB·CSS]"]
"The sentence has one reading, the same for every reader."
, MkVerdict
"Ambiguous"
"Added the review store, which moved reviews out of SQLite."
["[ASR·PFV] [ASR·PFV·ONE]", "[ASR·PFV] [ASR·HAB]"]
"Readers find different readings, so the author picks one and rewrites the sentence."
, MkVerdict
"Nonsense"
"The shell now still accepts unsigned commands."
[]
"The sentence has no coherent reading, because now and still claim opposite histories."
]
-- | One side of a minimal pair.
--
-- @since 0.1.0.0
type Side :: Type
data Side = MkSide
{ sideLabel :: MisoString
, sideSentence :: MisoString
, sideAnnotation :: MisoString
}
-- | The pair of dreamstop/kinds/changelog (at 0a7f554) that teaches a
-- ChangeLog to describe the resulting state, not the migration, with its
-- readings as the dreamstop package prints them.
--
-- @since 0.1.0.0
pair :: [Side]
pair =
[ MkSide "Bad" "Added the review store, which moves reviews out of SQLite." "[ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 {reviews: OBJ} or [ASR·PFV] {review: OBJ} [ASR·PFV·INC·ONE]/rel1 {reviews: OBJ}"
, MkSide "Good" "Added the review store, which keeps reviews in acid-state." "[ASR·PFV] {review: OBJ} [ASR·HAB]/rel1 {reviews: OBJ}"
]
-- | The pair's question and its edit.
--
-- @since 0.1.0.0
pairSlot :: MisoString
pairSlot = "Question: what behaves differently now? Edit: moves becomes keeps, which leaves clause 2 only its HAB reading"