Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Re: Coverage percents - BUG? (Michael Orlitzky) 2. Re: Library for rendering text (Sylvain Henry) 3. Re: Library for rendering text (Stefan Risberg) 4. Re: Coverage percents - BUG? (Baa) ---------------------------------------------------------------------- Message: 1 Date: Wed, 4 Oct 2017 08:32:20 -0400 From: Michael Orlitzky <mich...@orlitzky.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Coverage percents - BUG? Message-ID: <130d1805-2433-e149-8be8-28b79a25b...@orlitzky.com> Content-Type: text/plain; charset=utf-8 On 10/04/2017 03:59 AM, Baa wrote: > > .. > 100% boolean coverage (0/0) > .. > > but 0/0 =/= 100% (an undefined limit ;) IMHO better is to be > reported as 0. Is it a bug in HPC? > For all tests t, t passed -- vacuous truth to the rescue! Or, 100% of zero is zero. Don't think too hard about it =) >From a practical standpoint, you probably don't want your integration tests to reject a commit because you have 0% coverage on something that doesn't exist. For that reason, a "success" result is better when you have no coverage of no things. ------------------------------ Message: 2 Date: Wed, 4 Oct 2017 14:55:35 +0200 From: Sylvain Henry <sylv...@haskus.fr> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Library for rendering text Message-ID: <adaffce8-34f1-b318-e4fa-2d7a68369...@haskus.fr> Content-Type: text/plain; charset="utf-8"; Format="flowed" FontyFruity with Rasterific could also be a good native Haskell alternative. I've used it to write a little terminal demo with haskus-system: https://www.youtube.com/watch?v=Dg9KyMk2n5E Regards, Sylvain On 04/10/2017 12:48, Stefan Risberg wrote: > Wouldn't pango with Cairo be good combination? > > On 4 Oct 2017 10:53 AM, "Jona Ekenberg" <saik...@gmail.com > <mailto:saik...@gmail.com>> wrote: > > Dear mailing list, > > I want to create a text editor, preferably using open gl to render > text. Are there any easy to use libraries for this? I like the > gloss library, but the functions for rendering text seems quite > basic. I could add upon this, but I figured I should ask here > first; are there any existing libraries suitable for rendering text? > > Kind regards, > Jona > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org <mailto:Beginners@haskell.org> > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > <http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners> > > > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20171004/ca5fa85a/attachment-0001.html> ------------------------------ Message: 3 Date: Wed, 4 Oct 2017 15:32:36 +0200 From: Stefan Risberg <steffeno...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] Library for rendering text Message-ID: <CAJyEnBmG69X3OC3ZRM=lfsoz9h-2swfhzta_mrhrhfb7ggk...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" You have Cairo and gi-cairo, I think that gi-cairo are autogenerated and from my experience a bit of a pain to set up. It also depends on if you use stack, cabal or nix of course for your project. But I think both are mostly equal On 4 Oct 2017 13:46, "Jona Ekenberg" <saik...@gmail.com> wrote: > Thanks for your reply Stefan. > > When I look for cairo bindings for Haskell I find several different ones. > Is there any one considered "the best" or most current? It does seem like a > suitable combination. > > Den 4 okt. 2017 12:49 em skrev "Stefan Risberg" <steffeno...@gmail.com>: > > Wouldn't pango with Cairo be good combination? > > On 4 Oct 2017 10:53 AM, "Jona Ekenberg" <saik...@gmail.com> wrote: > >> Dear mailing list, >> >> I want to create a text editor, preferably using open gl to render text. >> Are there any easy to use libraries for this? I like the gloss library, but >> the functions for rendering text seems quite basic. I could add upon this, >> but I figured I should ask here first; are there any existing libraries >> suitable for rendering text? >> >> Kind regards, >> Jona >> >> _______________________________________________ >> Beginners mailing list >> Beginners@haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >> >> > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > > > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20171004/90fce2a4/attachment-0001.html> ------------------------------ Message: 4 Date: Wed, 4 Oct 2017 19:36:43 +0300 From: Baa <aqua...@gmail.com> To: beginners@haskell.org Subject: Re: [Haskell-beginners] Coverage percents - BUG? Message-ID: <20171004193643.7e904b6a@Pavel> Content-Type: text/plain; charset=US-ASCII Hello, Michael. > From a practical standpoint, you probably don't want your integration > tests to reject a commit because you have 0% coverage on something > that doesn't exist. For that reason, a "success" result is better > when you have no coverage of no things. absolutely make sense :) Thanks! > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 112, Issue 7 *****************************************