I'm pleased to make the first public announcement of the availability of
Penny, a double-entry command-line accounting system.
Penny is inspired by Ledger, an excellent program in its own right.
Ledger's websites and sales pitches are much better developed than those
for Penny, so first take a
On Thu, Aug 29, 2013 at 9:30 PM, Mateusz Kowalczyk
fuuze...@fuuzetsu.co.ukwrote:
Greetings café,
Perhaps some saddening news for Markdown fans out there. As you might
remember, there was a fair amount of push for having Markdown as an
alternate syntax for Haddock.
This is a little
I compiled some code with GHC 7.6.3 that produces a simple error at runtime
myProgramName: loop
At which point the program exits with code 1.
Is there documentation for this error anywhere? Does it mean I have some
infinite loop in my code somewhere? If so, does GHC catch all infinite
loops? I
Hi all,
rainbow is a simple package to help you print colored text on UNIX-like
systems. It's different from packages like terminfo (upon which it is
based) and ansi-terminal in two ways. First, rainbow assumes you print text
one chunk at a time. The properties of the terminal are reset with
Is there a way to determine whether a module has been marked safe by GHC
for purposes of Safe Haskell?
The GHC 7.4 docs say that if I compile a module and I don't use the -XSafe
or -XTrustworthy flag, GHC will automatically figure out whether the module
would have compiled with -XSafe and, if so,
When using make (or, at least, GNU make) the -k option keeps going
as far as possible after a compilation error. It's handy during
developing--for instance, I know half of my code is busted, but I
just want to see if this file compiles. Is there a similar way to do
this with cabal? Thanks. --Omari
I'm wrinting (or at least, trying to write) an Alex lexer. Say I want to
group character ranges together and specify that I want a character that is
*not* in any of those ranges. Example
---
{
module Main where
}
%wrapper posn-bytestring
$lowAscii = \x00-\x1f -- unprintable stuff
$lowSymbol =
OK, it turns out that having [^\x00] as a character range gives me the
error with pred. [\x00] works fine; [^\x00] gives the error message.
On Sat, Mar 24, 2012 at 6:33 PM, Omari Norman om...@smileystation.comwrote:
I'm wrinting (or at least, trying to write) an Alex lexer. Say I want to
group
The Parsec documentation says that Parsec performs best on predictive
grammars, and Parsec does not backtrack by default to improve performance
(though this also improves error messages).
On the other hand, I notice that attoparsec and polyparse backtrack by
default, and attoparsec claims to be
On Mon, Jan 30, 2012 at 03:19:47PM +0100, Henning Thielemann wrote:
On Sun, 29 Jan 2012, Simon Meier wrote:
I'm currently using Neil Mitchell's cmdargs package [1]. How does your
package compare to that?
Last time I checked cmdargs it was not referential transparent. Is
multiarg better
Hi folks,
I'm using Text.Regex.Base with the TDFA and PCRE backends. I want to
compile regular expressions first and make sure the patterns were
actually valid, so I used makeRegexOptsM, which indicates a bad regular
expression by calling fail. That allows you to use makeRegexOptsM with
Maybe or
On Fri, Dec 30, 2011 at 01:24:02AM +0100, Daniel Fischer wrote:
For Either, there used to be
instance Error e = Monad (Either e) where
...
fail s = Left (strMsg s)
in mtl's Control.Monad.error, and all was fine if one used the regex
functions with e.g. (Either String) as the
Web versions of Haddock documentation, even this old one, list a class's
instances.
http://www.haskell.org/ghc/docs/6.2.2/html/libraries/base/Prelude.html#5
My Haddock documentation does not have any class instances at all. This
is true both of the documentation that comes with my Linux system
Why is toRational a method of Real? I thought that real numbers need not
be rational, such as the square root of two. Wouldn't it make more sense
to have some sort of Rational typeclass with this method? Thanks.
--Omari
___
Haskell-Cafe mailing list
Hi,
How do I use Text.Regex.PCRE to get information on multiple matches? For
instance, in ghci I get this error message:
Prelude Text.Regex.PCRE foo =~ o :: [(Int,Int)]
interactive:1:0:
No instance for (RegexContext Regex [Char] [(Int, Int)])
arising from a use of `=~' at
How do I use Text.Regex.PCRE to get information on multiple matches? For
instance, in ghci I get this error message:
Prelude Text.Regex.PCRE foo =~ o :: [(Int,Int)]
Solved; do
getAllMatches (foo =~ o) :: [(Int, Int)]
___
Haskell-Cafe mailing list
16 matches
Mail list logo