packed-data-0.1.0.0: src/Tree.hs
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module Tree (Tree (..), caseTree, readTree) where
import Data.Packed
data Tree a = Leaf a | Node (Tree a) (Tree a)
$(mkPacked ''Tree [InsertFieldSize, SkipLastFieldSize])
{-# OPTIONS_GHC -Wno-unused-top-binds #-}
module Tree (Tree (..), caseTree, readTree) where
import Data.Packed
data Tree a = Leaf a | Node (Tree a) (Tree a)
$(mkPacked ''Tree [InsertFieldSize, SkipLastFieldSize])