File: Types.hs

package info (click to toggle)
haskell-serialise 0.2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 564 kB
  • sloc: haskell: 6,809; makefile: 6
file content (8 lines) | stat: -rw-r--r-- 156 bytes parent folder | download
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)