haddock module headers

This commit is contained in:
crumbtoo
2023-11-27 17:50:34 -07:00
parent 77f0e7521e
commit 32200a67af
6 changed files with 27 additions and 0 deletions

View File

@@ -1,3 +1,10 @@
{-|
Module : Compiler.RLPC
Description : Tools used to glue each piece of RLPC together
This module implements the toolset common to the entire compiler, most notably
errors and the family of RLPC monads.
-}
{-# LANGUAGE GeneralisedNewtypeDeriving, StandaloneDeriving #-} {-# LANGUAGE GeneralisedNewtypeDeriving, StandaloneDeriving #-}
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE DeriveGeneric, DerivingStrategies, DerivingVia #-} {-# LANGUAGE DeriveGeneric, DerivingStrategies, DerivingVia #-}

View File

@@ -1,3 +1,7 @@
{-|
Module : Core.Examples
Description : Core examples (may eventually be unit tests)
-}
{-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE OverloadedStrings #-}
module Core.Examples where module Core.Examples where

View File

@@ -1,4 +1,8 @@
{ {
{-|
Module : Core.Lex
Description : Lexical analysis for the core language
-}
module Core.Lex module Core.Lex
( lexCore ( lexCore
, lexCore' , lexCore'

View File

@@ -1,4 +1,8 @@
{ {
{-|
Module : Core.Parse
Description : Parser for the Core language
-}
module Core.Parse module Core.Parse
( parseCore ( parseCore
, parseCoreExpr , parseCoreExpr

View File

@@ -1,3 +1,7 @@
{-|
Module : Core.Syntax
Description : Core ASTs and the like
-}
{-# LANGUAGE PatternSynonyms, OverloadedStrings #-} {-# LANGUAGE PatternSynonyms, OverloadedStrings #-}
module Core.Syntax module Core.Syntax
( Expr(..) ( Expr(..)

View File

@@ -1,3 +1,7 @@
{-|
Module : Core.TH
Description : Core quasiquoters
-}
module Core.TH module Core.TH
( coreExpr ( coreExpr
, coreProg , coreProg