OQQ45NRBSXM5JXRTLDLP7CEBR4LPBAFY46AQHZTO2TXJMRKQVJNAC
Just ((Arg _ y)) -> insert (flip toCard y . f $ tuple y) b
Just y -> insert (flip toCard y . f $ tuple y) b
-- | Find @cname@ in the list @xs@, return Nothing if it doesn't exist in the list
find :: CardName -> DeckList -> Maybe Card
find cname xs =
let cname' = unrefine . runText $ cname
argName (Arg x _) = x
argCard (Arg _ x) = x
in argCard <$> (Data.Foldable.find ((== cname') . argName) . runDeckList $ xs)