Skip to content

Commit

Permalink
Weeds
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Oct 24, 2024
1 parent 3a9f652 commit 78142ae
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Restyler/Docs/Ronn.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module Restyler.Docs.Ronn
( Ronn (..)
, RonnGroup (..)
, RonnLine (..)
, ronnLineFromChunks
, indentRonnLine
, RonnPart (..)
, ronnPartText
Expand All @@ -12,7 +11,7 @@ module Restyler.Docs.Ronn
import Restyler.Prelude

import Data.Text qualified as T
import Text.Colour (Chunk, chunk, chunkText, unlinesChunks)
import Text.Colour (Chunk, chunk, unlinesChunks)

data Ronn = Ronn
{ name :: Text
Expand Down Expand Up @@ -64,9 +63,6 @@ indentRonnLine n = \case
ronnLineToChunks :: RonnLine -> [Chunk]
ronnLineToChunks = map (chunk . ronnPartText) . intersperse " " . (.unwrap)

ronnLineFromChunks :: [Chunk] -> RonnLine
ronnLineFromChunks = RonnLine . map (RonnRaw . chunkText)

data RonnPart
= RonnConcat [RonnPart]
| RonnHeader RonnPart
Expand Down

0 comments on commit 78142ae

Please sign in to comment.