name: icfp-writing-style description: Use when writing ICFP papers, pearls, or experience reports: derive, do not announce; types first; compiled listings; honest evidence; accessible to a broad audience. Does not typeset.
ICFP writing style
Use this while polishing. The call: "The key to writing a good pearl is polishing." It holds for all three.
Call: https://icfp27.sigplan.org/track/icfp-2027-icfp-papers
Technical content accessible to a broad audience
Contributions explained in general and technical terms: what has been accomplished, why it is significant, compared with previous work. Write the general version first, without symbols, and keep it as the second paragraph.
Let the reader have the idea
Functional programmers read by predicting. Give a type and pause. Then the definition confirms or surprises. Recipe for a section:
- A type signature.
- An example evaluated by hand, three lines.
- The definition that everyone would write.
- What is wrong with it: a law that fails, a case, a cost.
- The change, as small as possible.
- The law, proved or calculated in steps with reasons.
If step 5 is large, there is a missing section between.
Calculation
foldr f e (xs ++ ys)
= { definition of (++) }
foldr f e (foldr (:) ys xs)
= { fusion, see (3) }
foldr f (foldr f e ys) xs
One step per line, a reason in braces, the same font for the same thing. Skip no step that uses the new law. Skip all others.
Names
Short for local, words for what is remembered. No subscripts in code. Unicode in code consistently or not at all. State which language and extensions, and what is pseudo.
Pearl
Concise, instructive, entertaining. A pearl has one idea, told with rhythm, and ends when the idea is complete. No related-work section as a duty (do credit), no "contributions" list, no evaluation. Read aloud to a student. Mark where attention fell. Cut there, also if it is the cleverest part.
Experience report
A claim about how well it worked and why. Show how FP was used rather than that it was. Before and after if there is a comparison. Anecdote is acceptable if well argued and if you explain what you did to gather as much evidence as possible. More weight to groups than to a single person. Specifics over generalities, unusual aspects highlighted. Context enough to judge relevance to the reader. Twelve pages, "short and to the point".
Correctness in prose
Say which results are mechanized, in what, and which axioms are used, if any, in the paper. Function extensionality, choice, classical, K, UIP, univalence, postulated primitives. A footnote is enough and it must exist.
AI Use section
When tools were used for code, proofs, data, tests, translation, debugging, or other artifacts: a clearly identifiable section called AI Use in the body, with tools and how they were employed, "in the same spirit" as a methods section. For writing help no disclosure is required.
Output
[ICFP prose] category <x> · general paragraph without symbols: yes
[Sections by recipe] <n> · naive definition shown and broken <n>
[Axioms stated] <list / none>
[Pearl read aloud to] <who>, cut at <places> / not a pearl
[Report: how, before/after, group] <x> / not a report
[AI Use] present, p<n> / no tools for artifacts
Reverify each cycle
- AI section and category guidelines.