* Jose A. Ortega Ruiz j...@gnu.org [2011-12-11 08:43:01+0100]
On Sun, Dec 11 2011, Brandon Allbery wrote:
[...]
xmobar currently requires parsec 3.x; the above is the symptom of
building it against 2.x.
Aha, thanks for pointing this out, guys.
Peter, would using parsec 3.x be an
On Sun, Dec 11 2011, Roman Cheplyaka wrote:
* Jose A. Ortega Ruiz j...@gnu.org [2011-12-11 08:43:01+0100]
On Sun, Dec 11 2011, Brandon Allbery wrote:
[...]
xmobar currently requires parsec 3.x; the above is the symptom of
building it against 2.x.
Aha, thanks for pointing this out,
I would like to introduce my over-than-two years long project, HHDL:
http://thesz.mskhug.ru/svn/hhdl/hackage/hhdl/
(I prefer to pronounce it as a ha-ha-dee-el, this way it is more fun)
It allows one to create digital hardware description in Haskell and
then generate VHDL code (Verilog is on the
2011/12/10 Jose A. Ortega Ruiz j...@gnu.org
I'm happy to announce the release of xmobar 0.14.
Xmobar is a text-based, minimalistic status bar for linuxy systems,
written in Haskell. See http://projects.haskell.org/xmobar for
details.
Many, many thanks to the many, many contributors, and
On Sun, Dec 11, 2011 at 10:52 AM, Serguey Zefirov sergu...@gmail.com wrote:
There is no package for Hackage, because I do not feel HHDL is worth
it right now. For example, I tested it on ghc 6.12.1, not later
versions, the library code is messy. But HHDL is good enough for some
scrutiny and
On Sun, Dec 11 2011, Roman Cheplyaka wrote:
[...]
To avoid problems like this, please specify version constraints in the
.cabal file. See [1] for the details.
I'm actually preparing a new release with stricter version constraints
(the new .cabal is
Hi Jose,
Peter, would using parsec 3.x be an acceptable solution to you?
well, we can link xmobar with parsec 3.x on NixOS. The situation
is tricky, though, because the latest version of parsec that we
have, 3.1.2, doesn't compile with GHC 6.10.4 anymore, so we'd
have to use some older version
On 12/11/2011 01:36 AM, Antoine Latter wrote:
It looks like the function 'xmlParse' returns a value of type
'Document Posn', according to the API docs. I'm guessing the 'Posn'
value is used to annotate the position in the source document a
particular piece of XML came from, so you can report
On Sun, Dec 11, 2011 at 05:09:44PM +0400, Sergey Mironov wrote:
Hi. I am Awesome WM user thinking about swithcing to the xmonad. Could I
take an opportunity and ask about mouse support in xmonad/xmobar ?
Actually, I assume that xmobar does nothing with mouse, but what is a
common way of
I would be interested in what the hold-up is with the two Cabal
projects. Does the work need more clean-up or is it just stuck in the
Duncan-code-review pipeline? If Duncan is indeed the bottleneck,
maybe we should look into ways of taking some of the work off Duncan.
On 11 December 2011 02:57,
On Sun, Dec 11, 2011 at 8:48 AM, Peter Simons sim...@cryp.to wrote:
Hi Jose,
Peter, would using parsec 3.x be an acceptable solution to you?
well, we can link xmobar with parsec 3.x on NixOS. The situation
is tricky, though, because the latest version of parsec that we
have, 3.1.2,
On Sat, Dec 10, 2011 at 5:31 PM, Brandon Allbery allber...@gmail.com wrote:
On Sat, Dec 10, 2011 at 18:25, Peter Simons sim...@cryp.to wrote:
previous versions of xmobar used to compile fine with GHC 6.10.4, but
the new version no longer does:
src/Parsers.hs:163:52:
Couldn't match
On Sun, Dec 11, 2011 at 10:44, Antoine Latter aslat...@gmail.com wrote:
On Sat, Dec 10, 2011 at 5:31 PM, Brandon Allbery allber...@gmail.com
wrote:
On Sat, Dec 10, 2011 at 18:25, Peter Simons sim...@cryp.to wrote:
src/Parsers.hs:163:52:
Couldn't match expected type `Char'
On Sun, Dec 11, 2011 at 10:10 AM, Brandon Allbery allber...@gmail.com wrote:
On Sun, Dec 11, 2011 at 10:44, Antoine Latter aslat...@gmail.com wrote:
On Sat, Dec 10, 2011 at 5:31 PM, Brandon Allbery allber...@gmail.com
wrote:
On Sat, Dec 10, 2011 at 18:25, Peter Simons sim...@cryp.to wrote:
On Sun, Dec 11, 2011 at 10:23 AM, Antoine Latter aslat...@gmail.com wrote:
All of the imports in the ./src/Parsers.hs are from the
Text.ParserCombinators.Parsec.* module space, which was intended to be
a compatibility layer, and all of the parsers and parser-combinators
in ./ser/Parsers.hs
Hi Antoine,
What errors are you getting compiling with GHC 6.10.4? If its a small
thing I certainly don't mind patching things.
I am sorry, my previous statement was inaccurate. Parsec 3.1.2 compiles
fine, but the 'text' library -- on which Parsec depends -- does not. We
can probably avoid
Hi,
I got quite used to a sequence providing simple data persistence :
1) Store my data to a file:
writeFile fileName (show someData)
2) Some time later read this data back:
line - readFile fileName
let someData = read line :: SomeDataType
Having this done hundreds of times I now got stuck with
dokondr wrote:
When I try to read POSIXTime...
No instance for (Read POSIXTime)...
What should I do to provide Read instance for POSIXTime?
Short answer: if you are thinking about this as a moment
in time that could be parsed from the usual kind of
string representation for that, you probably
On Sun, Dec 11, 2011 at 4:19 PM, dokondr doko...@gmail.com wrote:
Hi,
I got quite used to a sequence providing simple data persistence :
1) Store my data to a file:
writeFile fileName (show someData)
2) Some time later read this data back:
line - readFile fileName
let someData = read line
Brandon Allbery wrote:
case () of
() | s == reverse s - putStrLn palindrome
_ - putStrLn nope
Tom Murphy wrote:
This is kind of a hack of case, though. I think what the OP was looking
for is
isPalindrome word
| (word == reverse word) = putStrLn (word ++ is a
Yitz, thanks for the detailed answer!
May be I should have formulated my question differently. All I actually
need is some way to get *seconds* since epoch from the system, so I could
manipulate them as integers.
Correct me if I am wrong, but UTCTime does not help here.
The only way I found to
2011/12/11 Felipe Almeida Lessa felipe.le...@gmail.com:
On Sun, Dec 11, 2011 at 10:52 AM, Serguey Zefirov sergu...@gmail.com wrote:
scrutiny and critique by Haskell users who is into hardware
description.
A two years-old project is more than ready to be on Hackage. It will
sure make it
Dear All,
We would like to remind you of the 10th Ghent Functional Programming
Group (GhentFPG) meeting, which will take place this Thursday,
December 15, 2011, at 19h30 in the Technicum building of Ghent
University (Sint-Pietersnieuwstraat 41, 9000 Gent).
This meeting, we will focus on tackling
Hi,
I will attend the CRA-W/CDC/SIGPLAN Mentoring Workshop at POPL next
year, and will have to share a room with another attendee. As we can
give preferences, I was wondering if another Haskeller might be in the
same position and interested in sharing a room.
Greetings,
Joachim
--
Joachim
I'm pleased to announce a new release of SmallCheck.
The highlights for this release are:
* Default Generic implementation of Serial instance, contributed by Bas van Dijk
This means that you don't need to write instances by hand for your types
to generate test values for them. See [1]
It occurs to me that c2hs (or more appropriately the gtk2hsc2hs fork) is
intended to solve this problem; have you looked into it?
hdirect falls into this category as well
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
To clarify, by hack I meant that it seemed like a workaround specifically
to keep case in the OP's code, when it seemed like they were looking for
the functionality of guards.
amindfv / Tom
On Dec 11, 2011 1:39 PM, Yitzchak Gale g...@sefer.org wrote:
Brandon Allbery wrote:
case () of
()
On 12/7/11 10:21 AM, Henrik Nilsson wrote:
I also had a look at John Millikin's page on Understanding Iteratees,
which is very good:
https://john-millikin.com/articles/understanding-iteratees/
But, the intuition that comes across there is:
* iteratee: a stream (of sorts) consumer
*
On 12/8/11 11:12 AM, Christoph Breitkopf wrote:
Hello,
I'm in the process of implementing a container data type, and wonder what
class instances are generally considered necessary. E.g. is it ok to start
out with a Show that's adequate for debugging, or is it a 'must' to include
instances of
Hey everyone,
I am sure that it is too late to do more than idly speculate about this, but
could we split the some/many methods out from Alternative? They simply don't
make sense except in a subset of possible Alternatives --- in most cases they
just result in an infinite loop. That is to
On Mon, Dec 12, 2011 at 00:18, Gregory Crosswhite gcrosswh...@gmail.comwrote:
It is only recently that I have been able to grok what some and many are
even about (I think), and they seem to only make sense in cases where
executing the Alternative action results in a portion of some input being
The extra parameter i is for information attached to each node of the tree.
As you have correctly guessed, the parser fills in this field with positional
information relating to the original source document, which is useful for
instance if you are validating or checking the original document.
I suggest switching from 'read' to a real parser that can give you proper error
messages. I use Text.Parse from the polyparse package, which is designed to
parse back exactly the format produced by derived Show instances. To derive
the Parse class from your datatypes, the tool DRiFT is handy.
33 matches
Mail list logo