michael rice writes:
> Perhaps. Is there a Linux distro that's more XMonad friendly?
I use Ubuntu, in the GDM login screen, I get a drop down menu that
includes Xmonad as an option. Even if Fedora doesn't have this, it
probably has a "Failsafe" option that will just give you an xterm, from
whic
-- Forwarded message --
From: Ravi Nanavati
Date: Wed, Jan 20, 2010 at 12:13 AM
Subject: Next meeting: January 21st at MIT (**NEW ROOM** 32G-449)
To: bostonhask...@googlegroups.com
I'm pleased to announce the January meeting of the Boston Area Haskell
Users' Group.
The meeting h
On 12 jan 2010, at 00:09, Günther Schmidt wrote:
Hi John,
thanks for responding. As I said I've been using Parsec quite a lot,
but wonder if there is a different approach possible/feasible to
parsing. Parsec (2x) isn't an "online" parser, ie, it doesn't
produce a result before the whole
Tom,
Ah, right.
The top-most rule is implied with the compile command. This makes it
appear as if the assignment doesn't belong to a rule, when if fact it
belongs to the implicit top level rule. The top level rule always has
a period of 1.
Period constraints are only applied to sub-rules, no
On Tue, Jan 19, 2010 at 10:42 PM, Lee Pike wrote:
> Tom,
>
> Is this a bug? The following program compiles, but the rule is scheduled at
> period 1 (rather than 0). I wouldn't have thought to have an assignment
> outside of an atom until another engineer here wrote it. In any event, I
> would h
When cycling home I realised it could even be shorter:
module Parse where
import Text.ParserCombinators.UU.Parsing
import Text.ParserCombinators.UU.Examples
data Verb = Go | Get | Jump | Climb | Give deriving (Show)
pCommand :: Pars Verb
pCommand = foldr (\ c r -> c <$ pToken (show c) <|> r)
I recently uploaded a package to Hackage[1], which contains a
non-ASCII character in the .cabal file. That file is encoded with
UTF-8, and it displays fine in Vim, Firefox, and even the Hackage
package landing page. However, Haddock is failing to build it[2] --
apparently it can't handle UTF-8 enco
James Russell schrieb:
>
> Not much to it, really. It's a LAMH thing, if you will.
>
> The Haskell part just runs as a CGI app,
> and uses the HDBC, HDBC-mysql, cgi, and xhtml
> packages, and is just a few hundred lines, including all
> the html templates which I create with the xhtml package.
The problem you mentioned has long been fixed in the darcs version,
but then there is also another problem: you need GHC 6.12 in order to
compile GLFW for Snow Leopard. Here is a detail description of why
prior versions of GHC fails to work:
http://hackage.haskell.org/trac/ghc/ticket/3522
I've jus
Hello Neil,
Tuesday, January 19, 2010, 10:15:15 PM, you wrote:
>> can you give a permission to translate
>> http://community.haskell.org/~ndm/darcs/uniplate/uniplate.htm
>> to Russian for http://fprog.ru/ online functional programming journal?
> Yes, that sounds great. However, I'm currently no
Hi everybody,
I'm just writing to thank everybody for your donations so far to the
Darcs 2010 travel fund, and to give a little progress update.
Thanks to your generous contributions, we've managed to raise $667,
putting us 1/3 of the way there! We only have $1333 to go, that's a
little over thr
Hi Bulat,
>> Uniplate might be the answer you are looking for -
>> http://community.haskell.org/~ndm/uniplate
>
> it's brilliant! some people has the talent to discover complex things
> and you have the talent to make complex things simple. it's first and only
> generics library that i can easily
Hi Henning,
>> Uniplate is simple (only multi parameter type classes, and even then
>> only in a very simple usage), fast (one of the fastest generics
>> libraries) and concise (probably the most concise generics library).
>> It's also not as powerful as most of the other generics libraries, but
>
Dear Cafe and Paul,
I am constantly having problems with cabal install in Snow Leopard. Some I
solve, some I cannot unfortunately.
When I run
sudo cabal install glfw -v2
in Snow Leopard, I get the following.
glfw/lib/macosx/macosx_enable.c:1:0:
error: bad value (apple) for -march= switch
Eugene Kirpichov writes:
> I am not even sure whether this should be fixed on the tunes.org site
> or on #haskell's, but something has to be done,
How about getting everyone to register and be identified? *ducks*
--
Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com
IvanMiljenovic.wordpress.com
__
The original author said he did not want to use existing parser
libraries, but write it himself for learning. After I read
"introduction to functional programming" from Bird, I closed the book,
and re-wrote the parser from scratch again, and seeing how all these
pieces come together was such a wond
Hello.
The #haskell channel stopped being logged because now it accepts only
someone who has IDENTIFY'd. For the last 3 days essentially nothing
has been recorded.
I am not even sure whether this should be fixed on the tunes.org site
or on #haskell's, but something has to be done, and I plea those
How about using one of the existing libraries, in this case uu-
parsinglib:
module Parse where
import Text.ParserCombinators.UU.Parsing
import Text.ParserCombinators.UU.Examples
data Verb = Go | Get | Jump | Climb | Give deriving (Show)
pCommand :: Pars String
pCommand = foldr (<|>) pFail (ma
How did you configure it? Are you still using it?
Michael
--- On Tue, 1/19/10, Chaddaï Fouché wrote:
From: Chaddaï Fouché
Subject: Re: [Haskell-cafe] Having a look at XMonad window manager
To: "John Millikin"
Cc: "michael rice" , haskell-cafe@haskell.org
Date: Tuesday, January 19, 2010, 10:18
On Mon, Jan 18, 2010 at 11:53 PM, John Millikin wrote:
> I've been quite happy with Ubuntu's xmonad package, though I run it
> within a GNOME session.
>
> Have you tried the instructions on the XMonad wiki for inter-operating
> with GNOME? http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_
How about using one of the existing libraries, in this case uu-
parsinglib:
module Parse where
import Text.ParserCombinators.UU.Parsing
import Text.ParserCombinators.UU.Examples
data Verb = Go | Get | Jump | Climb | Give deriving (Show)
pCommand :: Pars String
pCommand = foldr (<|>) pFail (ma
Hi all,
Due to budget and security constraints, we need to know the final
number of attendees a bit in advance. We've therefore set a
registration deadline on February 14, 2010. To register please follow
the instructions on the registration page:
http://www.haskell.org/haskellwiki/ZuriHac/Reg
> ... use Array (Int,Int) Double, as it accesses its elements in O(1).
thanks for the comments.
I don't need O(dim^0) element access -
I need O(dim^reasonable) addition and multiplication.
Modelling a matrix as [[Element]] should be nearly fine
(for sequential execution), I think these are q
Antoine Latter wrote:
getResponse = do
require 256
x <- getX
len <- getWord16be
y <- getY
z <- getZ
require (fromIntegral len * 8)
a <- getA
b <- getB
return $ Response x y z a b c
This looks like code that could be written in applicative style, in
which case you could analyz
Use the 'sortBy' and 'group' functions from Data.List. The rest is quite easy.
Or you might use a Data.Map (degree => coefficient), particularly the
fromListWith function.
2010/1/19 jjoshua :
>
> So I defined a type called term which is a coefficient and degree of x. int a
> int b.
> I want to wri
So I defined a type called term which is a coefficient and degree of x. int a
int b.
I want to write a method/methods in haskell to sort them and combine ones
with same degree. I think I need to combine somehow, and then use sortby
method? I'm just learning haskell, but I now java and c# pretty we
26 matches
Mail list logo