Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,251
    • Issues 4,251
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 395
    • Merge Requests 395
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Wiki
  • haskell syntax printers

Last edited by Tobias Dammers Mar 29, 2019
Page history New page

haskell syntax printers

Printers for Haskell Syntax

Here, we discuss the details and design of existing, and desired, printers for Haskell syntax. One key motivation is to gather enough knowledge around the topic, so we can restructure Outputable machinery in GHC (specially with Growable AST), and reuse it as a well-tested and well-maintained alternative to the existing printing packages.

Classical Pretty Printers

todo! (e.g., Hughes and Simon's, Wadler's, Leijen's, and also Christiansen's)

Exact Printers

todo! (e.g.,HSE)

Debug Printers (Outputters)

todo! (e.g., Outputable instances in GHC, with the desired modification that they also print annotations)

Data Printers (Show)

todo! (e.g., Show type class in Prelude)

Clone repository

GHC Home
GHC User's Guide

Joining In

Newcomers info
Mailing Lists & IRC
The GHC Team

Documentation

GHC Status Info
Working conventions
Building Guide
Debugging
Commentary

Wiki

Title Index
Recent Changes