hoodle-render-0.6: Hoodle file renderer

Copyright(c) 2011-2013 Ian-Woo Kim
LicenseBSD3
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Graphics.Hoodle.Render.Type.HitTest

Description

Selection type

Documentation

data AlterList a b Source #

Constructors

Empty 
a :- (AlterList b a) infixr 6 

Instances

(Show b, Show a) => Show (AlterList a b) Source # 

Methods

showsPrec :: Int -> AlterList a b -> ShowS #

show :: AlterList a b -> String #

showList :: [AlterList a b] -> ShowS #

newtype NotHitted a Source #

Constructors

NotHitted 

Fields

Instances

Functor NotHitted Source # 

Methods

fmap :: (a -> b) -> NotHitted a -> NotHitted b #

(<$) :: a -> NotHitted b -> NotHitted a #

Show a => Show (NotHitted a) Source # 

newtype Hitted a Source #

Constructors

Hitted 

Fields

Instances

Functor Hitted Source # 

Methods

fmap :: (a -> b) -> Hitted a -> Hitted b #

(<$) :: a -> Hitted b -> Hitted a #

Show a => Show (Hitted a) Source # 

Methods

showsPrec :: Int -> Hitted a -> ShowS #

show :: Hitted a -> String #

showList :: [Hitted a] -> ShowS #

fmapAL :: (a -> c) -> (b -> d) -> AlterList a b -> AlterList c d Source #

getA :: AlterList a b -> [a] Source #

getB :: AlterList a b -> [b] Source #

interleave :: (a -> c) -> (b -> c) -> AlterList a b -> [c] Source #