.
___
web-devel mailing list
web-de...@haskell.org
http://www.haskell.org/mailman/listinfo/web-devel
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Kind Regards,
Anton
for a Show instance. I am assuming there is no
syntax sugar to recover the name of the variable used in a binder as a
String.
Thanks,
Anton
--
Kind Regards,
Anton Tayanovskyy
WebSharper™ - type-safe JavaScript in F#
http://intellifactory.com
___
Haskell
Hi,
As a weekend hack, I just realized that Haskell has this wonderful
DoRec syntax that among other things seems to be able to let the user
express context-free grammars together with their processing rules in
normal Haskell code, without template Haskell or anything like that,
just like parser
] http://code.google.com/p/re2/source/browse/util/sparse_array.h
[4] http://t0yv0.blogspot.com/2011/07/combinatory-regular-expressions-in.html
--
Roman I. Cheplyaka :: http://ro-che.info/
--
Kind Regards,
Anton Tayanovskyy
WebSharper™ - type-safe JavaScript in F#
http://intellifactory.com
makes it easy, I guess I am
just an ML convert :)
Thanks,
Anton
On Sun, Sep 18, 2011 at 11:28 AM, Brandon Allbery allber...@gmail.com wrote:
On Sat, Sep 17, 2011 at 22:11, Anton Tayanovskyy
anton.tayanovs...@gmail.com wrote:
By the way, can Haskell have a type that admits regular expression
/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Kind Regards,
Anton Tayanovskyy
WebSharper™ - type-safe JavaScript in F#
http://intellifactory.com
___
Haskell-Cafe
and error out for
these kind of values?
Thanks,
A
[1] http://existentialtype.wordpress.com/tag/recursion/
On Sat, Sep 17, 2011 at 9:46 PM, Anton Tayanovskyy
anton.tayanovs...@gmail.com wrote:
So you want to encode priorities efficiently as far as I understand
from [1]? Could bit-packing
that defected to F#?
Not that I was I going to, just asking, absolutely hypothetically. Uhm.
Günther
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
Kind Regards,
Anton Tayanovskyy
F
For parsers, there is also a LALR(1) generator -
http://jscc.jmksf.com/ - though I have not had personal experience
with it.
--A
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
I propose to use concordet voting to appoint a new king from the 100
aspiring candidates ... ;)
Good point.. Just noticed that I managed to misspell Don Stewart's
name :( Sorry! And thanks for pointing that out!
Speaking of Concordet voiting.. :)
Have you checked out Arrow's impossibility
Didn't Haskell have a syntax king? I vote for a logo king: let Don
Steward decide which logo is best. --A
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Works for me without the --make, as `ghc foo.c`
--A
On Tue, Mar 17, 2009 at 6:32 PM, Manlio Perillo
manlio_peri...@libero.it wrote:
Hi.
I'm checking if it possible to build an executable from C source files only.
As an example:
#include stdio.h
int main () {
printf(hello world\n);
Hello,
What's the current best practice to build shared objects / dlls to
call Haskell from C? I think I figured out the basics, but I would
like to understand the picture completely and document the current
state of affairs in the Haskell wiki. In particular, I'd like to make
sure that the
Thanks for the portable solution.
I'd also like to know how is the following different from
-XFlexibleInstances with [Char]? Stronger, weaker, same thing?
{-# OPTIONS -XTypeSynonymInstances #-}
class Stringable a where
toString :: a - String
instance Stringable String where
If you want to make Haskell more widely used, do pick a name for
Haskell Prime that starts with an A. I first heard of Haskell when
exploring the list of computer languages that Gedit could highlight.
Just imagine going through all those A,B,C,D,E,F,G before I came to
Haskell.
Those programmers
Hi Arnaud,
Here's a simple counter program. I mount this to /ws/ with mod_scgi,
and can then do requests http://localhost/ws/ or
http://localhost/ws/?amount=19 (increment by 19 not 1).
http://hpaste.org/11033
I'm no expert but I'm also working on web applications in Haskell now.
If you are
John,
Thank you for your reply. I benchmarked HDBC.ODBC with MySQL and it is
indeed working well. So whatever slow results I used to get were due
to that particular setup. It looks that HDBC will suit my needs as
well.
Thanks,
--A
What's more, HDBC has a stronger and more versatile API than
Hello,
SCGI module from Hackage is not working for me with Apache mod_scgi, I
think because it uses LazyBytestring to hGetContents on a socket
handle and the Apache side does not close the socket. Also, looking at
the source I didn't see any fork* calls, so I assume it is not doing
concurrency.
Hello,
I had some difficulty building hsql and hsql-mysql (native driver)
packages under GHC 8.3 on Fedora 9. Namely, they do not install with
cabal install, because of a few API changes. Is this considered all
right as GHC 8.3 is still experimental, or should the packages be
updated? If so, can
On Thu, Oct 2, 2008 at 6:39 PM, Duncan Coutts
[EMAIL PROTECTED] wrote:
The problem here really is that HSQL has no maintainer and has not been
updated for about two years if my memory serves me correctly. Some
distros, Fedora, Gentoo etc have patched HSQL to keep it working with
ghc-6.8.
I
Alfonso,
Thanks! For didactic purposes I will defer looking into your code. It
does not always help to know the correct solution :)
Bests,
--A
On Mon, Jun 23, 2008 at 11:26 AM, Alfonso Acosta
[EMAIL PROTECTED] wrote:
Inspired in Oleg's ideas, I implemented the packages type-level and
Hi Harald,
Can you give a link to the paper? Interesting stuff. Thanks.
This is stretching my abilities a bit, but is this what you are after?
data Digit = forall b.(Digits (b Sz)) = Digit (Sz - b Sz)
instance Digits [Digit] where
d2num [] acc = acc
d2num (Digit x:xs) acc =
22 matches
Mail list logo