On Mar 15, 7:13 pm, Jeff Wheeler <wheel...@illinois.edu> wrote:
> On Tue, Mar 15, 2011 at 9:02 PM, Issac Trotts <issac.videos...@gmail.com> 
> wrote:
> > I saw it, and I like the general idea. I wonder though if it would be
> > simpler to have more focused packages, like yi-gtk and yi-cocoa, at
> > least for the things that can't run at the same time.
>
> I don't feel strongly either way. A lot of the small things in Yi
> probably don't warrant extra packages, but doing it at least for GUIs
> could make sense.
>
> Previous work includes yesod and friends (the Yesod category on
> Hackage has 24 packages, albeit not all yesod-*) and xmonad-contrib,
> which puts everything in one package.
>
> > I like to make and use things that are well-tested. Is there a penalty
> > for enabling it, other than compile time?
>
> That's fair. Can you verify that the few quickcheck tests (e.g. those
> in Yi.Syntax.Tree) only run when --self-check is passed; I'm not
> familiar with the testing framework.

Looks like the answer is yes. Here's the code in src/Yi/Main.hs:

main :: Config -> Maybe Editor -> IO ()
main cfg state = do
         args <- getArgs
#ifdef TESTING
         when ("--self-check" `elem` args)
              TestSuite.main
#endif



>
> --
> Jeff Wheeler
>
> Undergraduate, Electrical Engineering
> University of Illinois at Urbana-Champaign

-- 
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel

Reply via email to