anki-tools-0.1.0.0: Tools for interacting with Anki database

Copyright(c) 2016 Al Zohali
LicenseBSD3
MaintainerAl Zohali <zohl@fmap.me>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Anki.Card

Description

Description

Representation of a card and related definitions.

Synopsis

Documentation

type CardId = Int Source #

Type for card ids.

data Card Source #

Cards from cards table.

Instances

Eq Card Source # 

Methods

(==) :: Card -> Card -> Bool #

(/=) :: Card -> Card -> Bool #

Show Card Source # 

Methods

showsPrec :: Int -> Card -> ShowS #

show :: Card -> String #

showList :: [Card] -> ShowS #

Generic Card Source # 

Associated Types

type Rep Card :: * -> * #

Methods

from :: Card -> Rep Card x #

to :: Rep Card x -> Card #

FromRow Card Source # 
type Rep Card Source # 
type Rep Card = D1 (MetaData "Card" "Anki.Card" "anki-tools-0.1.0.0-5D8qL7t0KhK4qOjZTwOuPj" False) (C1 (MetaCons "Card" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "cardId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 CardId)) (S1 (MetaSel (Just Symbol "cardNid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 NoteId))) ((:*:) (S1 (MetaSel (Just Symbol "cardDid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DeckId)) (S1 (MetaSel (Just Symbol "cardOrd") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "cardMod") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ModificationTime)) (S1 (MetaSel (Just Symbol "cardUsn") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))) ((:*:) (S1 (MetaSel (Just Symbol "cardType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "cardQueue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "cardDue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "cardIvl") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "cardFactor") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))) ((:*:) (S1 (MetaSel (Just Symbol "cardReps") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "cardLapses") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "cardLeft") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "cardOdue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))) ((:*:) (S1 (MetaSel (Just Symbol "cardOdid") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) ((:*:) (S1 (MetaSel (Just Symbol "cardFlags") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "cardData") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))))))))