From 9802fb4431b66a20f149f55f87ec16e60231ff63 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Wed, 12 Apr 2023 16:01:48 +1200 Subject: [PATCH] Reference document main module. --- Graphics/Layout.hs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Graphics/Layout.hs b/Graphics/Layout.hs index 8ff3d50..a7d2f0d 100644 --- a/Graphics/Layout.hs +++ b/Graphics/Layout.hs @@ -1,4 +1,9 @@ {-# LANGUAGE OverloadedStrings, RecordWildCards #-} +-- | Generic layout logic, handling a hierarchy of varying formulas. +-- Unless callers have more specific needs they probably wish to use this abstraction. +-- Attempts to follow the CSS specs. +-- See `boxLayout` for a main entrypoint, +-- & `Graphics.Layout.CSS` to receive CSS input. module Graphics.Layout(LayoutItem(..), layoutGetBox, layoutGetChilds, layoutGetInner, boxMinWidth, boxMaxWidth, boxNatWidth, boxWidth, -- 2.30.2