One problem is to work out how to make best use of the purely declarative nature of functional languages.
A declarative sentence.
The word "what" can be used in an interrogative or a declarative sentence:What did she do? (interrogative)That is what we all want to know. (declarative)
The sky is blue.
To change an interrogative sentence into a declarative sentence, you can simply remove the question word (who, what, where, when, why, how) and rephrase the sentence as a statement. For example, change "Are you going to the store?" to "You are going to the store."
The above is a simple declarative sentence.
A declarative sentence typically ends with a period (.), which indicates a statement or assertion.
A declarative sentence is ended with a period.
Wow what a girl!
To change a declarative sentence into a question, you can typically add a question word (who, what, when, where, why, how) at the beginning of the sentence, invert the subject and the verb, or add a question mark at the end.
i want a example for declarative sentence
A declarative sentence is a sentence that declares something. EXAMPLE: I believe in the afterlife.
To transform a declarative sentence into an interrogative sentence, you typically invert the subject and auxiliary verb. For example, "You are coming" becomes "Are you coming?" In some cases, you may need to add a question word like "what," "where," "why," etc. to the beginning of the sentence.