Hi,
I need to construct a parser that parse a language that use indentation to
define blocks as Python does. I ran into
Text.ParserCombinators.Parsec.IndentParser module but have no idea how to
use it. Can anyone point me out to how to use this module? Any short
example, tutorial, or whatever
Dear all,
I am proudly announcing SiteBridge version 1.0.
Briefly about it, SiteBridge is a site bridging system that allows
developers to connect his/her locally developed app to an externally
accessible site. It's aimed to get rid of the pain of the fact that you are
still internally
Hi all,
I start reading about Closure language (http://clojure.org) and it seems an
interesting language. I don't know much about this language especially in
comparison to Haskell feature by feature. Could it perhaps be what Haskell
on JVM would have been with the dressing of Lisp syntax?
Any
Hi all,
I was looking around Stroustrup's website and found a simple program that he
showed how standard library can be used to make the program succinct and
safe. See http://www.research.att.com/~bs/bs_faq2.html#simple-program. I
wondered how a Haskell program equivalent to it looks like and I
I'm not a Haskell expert but here the solution to your problem that I can
think of.
import Data.List
prettyStr :: Int - String - IO ()
prettyStr maxlen str = do
putStr (\ ++ head brokenStr)
mapM_ (\str - putStr (\\\n\\ ++ str)) (tail brokenStr)
putStr \\n
where brokenStr = map
to rescue this situation. And if so, I wonder how it looks like.
Ed
On Fri, Aug 8, 2008 at 2:39 PM, Lemming [EMAIL PROTECTED]wrote:
Sukit Tretriluxana schrieb:
Thanks Tom and Henning for your response. Let me put the question in
another way by generalizing and tweaking it a little bit.
How
Dear Haskell experts,
I am currently studying Groovy language. An experiment I did with its
closure is to perform closure/function curry using an array containing the
values for the parameter binding. See the sample below.
int addThemUp(a,b,c,d,e) { a+b+c+d+e }
def arrayCurry(arr, cls) {
:: ([a]-b)-[a]-([a]-b)
curryWithList f lst1= \lst2 -f (lst1++lst2)
addThemUp = sum
curried = curryWithList addThemUp [1,2,3,4]
curried [5] =15
On Thu, Aug 7, 2008 at 8:35 PM, Henning Thielemann
[EMAIL PROTECTED] wrote:
On Thu, 7 Aug 2008, Sukit Tretriluxana wrote:
Dear Haskell experts
Thanks all. This really helps me a lot!
On Jan 18, 2008 6:24 PM, Jonathan Cast [EMAIL PROTECTED] wrote:
On 18 Jan 2008, at 2:00 PM, Clifford Beshers wrote:
2008/1/18 Sukit Tretriluxana [EMAIL PROTECTED]:
Hi,
I don't know if it's been asked before. I just wonder if GHC supports
some
Hi,
I don't know if it's been asked before. I just wonder if GHC supports some
sort of one-liner program that can be specify right as the argument to
either ghci or runghc program. In perl, they have something like
perl *-e* 'print Hello'
Do we have similar thing with GHC?
Thanks,
Ed
Thanks a lot! I thought that option resided in ghci or runghc apps.
On Jan 18, 2008 2:00 PM, Clifford Beshers [EMAIL PROTECTED]
wrote:
2008/1/18 Sukit Tretriluxana [EMAIL PROTECTED]:
Hi,
I don't know if it's been asked before. I just wonder if GHC supports
some sort of one-liner
Hi,
I am wondering if there is the binary package for GHC 6.6.1 for Ubuntu. I
searched in the package manager and I only see the version 6.6.
Thanks,
Ed
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Thanks!
On 8/31/07, Thomas Hartman [EMAIL PROTECTED] wrote:
you may find this helpful. (with link)
http://www.haskell.org/pipermail/haskell-cafe/2007-April/024137.html
*Sukit Tretriluxana [EMAIL PROTECTED]*
Sent by: [EMAIL PROTECTED]
08/31/2007 12:19 PM
To
haskell-cafe
Hi all,
Does anyone know how to specify proxy server and port for darcs to use when
it connects to servers? I am behind firewall most of the time and all
requests have to go through a proxy.
Thanks,
Ed
___
Haskell-Cafe mailing list
case, these are set to the same
var that permits me to use firefox via the proxy, in firefox - edit-
preferences - network tab - connection settings, http proxy.
and darcs should just work
thomas.
*Sukit Tretriluxana [EMAIL PROTECTED]*
Sent by: [EMAIL PROTECTED]
08/30/2007 03:54 PM
15 matches
Mail list logo