summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Cache.hs4
-rw-r--r--src/Calendar.hs4
-rw-r--r--src/Config.hs4
-rw-r--r--src/Debounce.hs4
-rw-r--r--src/ImmutGrowVector.hs4
-rw-r--r--src/Index.hs4
-rw-r--r--src/Main.hs4
-rw-r--r--src/Mmap.hs4
-rw-r--r--src/Pages.hs4
-rw-r--r--src/Pages/TH.hs4
-rw-r--r--src/Parallel.hs4
-rw-r--r--src/Spamcheck.hs4
-rw-r--r--src/Util.hs4
-rw-r--r--src/ZNC/Parser.hs4
-rw-r--r--src/ZNC/Slow.hs4
15 files changed, 60 insertions, 0 deletions
diff --git a/src/Cache.hs b/src/Cache.hs
index d272112..31ad5df 100644
--- a/src/Cache.hs
+++ b/src/Cache.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
module Cache where
import Control.Monad (when)
diff --git a/src/Calendar.hs b/src/Calendar.hs
index 337e4ea..ffc8d16 100644
--- a/src/Calendar.hs
+++ b/src/Calendar.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
module Calendar where
import Control.Monad (forM)
diff --git a/src/Config.hs b/src/Config.hs
index 3c897f6..8e1f955 100644
--- a/src/Config.hs
+++ b/src/Config.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeData #-}
diff --git a/src/Debounce.hs b/src/Debounce.hs
index 7e9ccab..81338e8 100644
--- a/src/Debounce.hs
+++ b/src/Debounce.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE OverloadedStrings #-}
module Debounce (
Debounce,
diff --git a/src/ImmutGrowVector.hs b/src/ImmutGrowVector.hs
index ee38bc4..a771204 100644
--- a/src/ImmutGrowVector.hs
+++ b/src/ImmutGrowVector.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
module ImmutGrowVector where
import Data.Vector.Unboxed (Unbox)
diff --git a/src/Index.hs b/src/Index.hs
index aaf0a81..729c3ed 100644
--- a/src/Index.hs
+++ b/src/Index.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE DerivingVia #-}
{-# LANGUAGE FlexibleInstances #-}
diff --git a/src/Main.hs b/src/Main.hs
index c5417aa..dcb2082 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ViewPatterns #-}
diff --git a/src/Mmap.hs b/src/Mmap.hs
index 34d5d38..798d019 100644
--- a/src/Mmap.hs
+++ b/src/Mmap.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE ForeignFunctionInterface #-}
module Mmap where
diff --git a/src/Pages.hs b/src/Pages.hs
index 965cf2e..003b5ed 100644
--- a/src/Pages.hs
+++ b/src/Pages.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE StrictData #-}
diff --git a/src/Pages/TH.hs b/src/Pages/TH.hs
index c16075b..5916e5a 100644
--- a/src/Pages/TH.hs
+++ b/src/Pages/TH.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE LinearTypes #-}
{-# LANGUAGE TemplateHaskellQuotes #-}
module Pages.TH where
diff --git a/src/Parallel.hs b/src/Parallel.hs
index cc6eb22..4cad336 100644
--- a/src/Parallel.hs
+++ b/src/Parallel.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
module Parallel where
import Control.Concurrent
diff --git a/src/Spamcheck.hs b/src/Spamcheck.hs
index 203b5ea..e1d5ac1 100644
--- a/src/Spamcheck.hs
+++ b/src/Spamcheck.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE NumericUnderscores #-}
{-# LANGUAGE OverloadedStrings #-}
diff --git a/src/Util.hs b/src/Util.hs
index 64c0bfc..b5b51eb 100644
--- a/src/Util.hs
+++ b/src/Util.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE DeriveFoldable #-}
module Util (module Util, toList) where
diff --git a/src/ZNC/Parser.hs b/src/ZNC/Parser.hs
index 6a4edc5..e470599 100644
--- a/src/ZNC/Parser.hs
+++ b/src/ZNC/Parser.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE UnboxedTuples #-}
diff --git a/src/ZNC/Slow.hs b/src/ZNC/Slow.hs
index 0d7666f..8630607 100644
--- a/src/ZNC/Slow.hs
+++ b/src/ZNC/Slow.hs
@@ -1,3 +1,7 @@
+{-|
+Copyright: (c) Tom Smeding 2026
+License: AGPL-3.0-or-later
+-}
{-# LANGUAGE OverloadedStrings #-}
module ZNC.Slow (
-- Log(..),