| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
Language.Drasil.Chunk.Concept
Description
Contains functions to create the concept related chunk types found in Language.Drasil.Chunk.Concept.Core.
Synopsis
- data ConceptChunk
- cncpt :: Concept dom => UID -> NP -> Sentence -> String -> [dom] -> ConceptChunk
- cncpt' :: Concept dom => UID -> NP -> Sentence -> [dom] -> ConceptChunk
- cncpt'' :: UID -> NP -> Sentence -> String -> ConceptChunk
- cncpt''' :: UID -> NP -> Sentence -> ConceptChunk
- cw :: Concept c => c -> ConceptChunk
Concept Chunks
From an idea (IdeaDict)
data ConceptChunk Source #
The ConceptChunk datatype records a concept that contains a unique id (UID),
a term (NP), a definition (Sentence), an optional abbreviation ('Maybe String'),
and an associated domain of knowledge ([UID]).
Ex. The concept of Accuracy may be defined as the quality or state of being correct or precise.
Instances
Arguments
| :: Concept dom | |
| => UID | The |
| -> NP | |
| -> Sentence | The definition of the |
| -> String | The term's abbreviation. |
| -> [dom] | The domain the |
| -> ConceptChunk |
Construct a ConceptChunk.
Arguments
| :: Concept dom | |
| => UID | The |
| -> NP | The |
| -> Sentence | The definition of the |
| -> [dom] | The domain the |
| -> ConceptChunk |
Construct a ConceptChunk.
Arguments
| :: UID | The |
| -> NP | The |
| -> Sentence | The definition of the |
| -> String | The term's abbreviation. |
| -> ConceptChunk |
Construct a ConceptChunk.
Arguments
| :: UID | The |
| -> NP | The |
| -> Sentence | The definition of the |
| -> ConceptChunk |
Construct a ConceptChunk.
cw :: Concept c => c -> ConceptChunk Source #
Deprecated: Chunk down-casting is strongly discouraged. If you want to construct a ConceptChunk, use one of its normal constructors.
For projecting out to the ConceptChunk data-type.