File: Types.hs

package info (click to toggle)
haskell-serialise 0.2.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 596 kB
  • sloc: haskell: 6,811; makefile: 3
file content (8 lines) | stat: -rw-r--r-- 156 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
{-# LANGUAGE DeriveGeneric #-}
module Micro.Types (Tree(..)) where

import GHC.Generics

data Tree = Leaf | Fork Tree Tree
    deriving (Eq, Ord, Generic)