1 {-# LANGUAGE DeriveGeneric #-}
2 {-# LANGUAGE NoMonomorphismRestriction #-}
3 {-# OPTIONS_GHC -Wno-missing-signatures #-}
5 module Examples.E01 where
8 import Symantic.Classes (SumFunctor (..), adt)
15 deriving (Eq, Show, Generic)
18 -- Using Generic, 'adt' derives (Iso{a2b, b2a} <%>)
19 -- from the 'Site' algebraic datatype
23 <+> slug "contact.html"