Re: [Haskell-cafe] :Trace has no history

2010-08-31 Thread Steve Severance
How do I tell? Does this mean that if the exception is occurring in a haskell library I can't get to it? I am trying to run down a Prelude.read: No Parse error and I need to see the value that it is failing to parse on. Thanks. Steve On Tue, Aug 31, 2010 at 11:05 AM, Pepe Iborra pepeibo

Re: [Haskell-cafe] Re: Can we come out of a monad?

2010-08-10 Thread Steve Schafer
is that in a language like C, you can always replace a function call with the code that constitutes the body of that function. In C-speak, you can inline the function. -Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] ANNOUNCE: Haskell Platform 2010.2.0.0

2010-07-23 Thread Steve Schafer
guaranteed that it will have been abused at some point. You can get the same warnings about tinyurl.com, for example, because people have used tinyurl.com to direct traffic to malicious web sites. -Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

Re: [Haskell-cafe] Comments on Haskell 2010 Report

2010-07-09 Thread Steve Schafer
(i.e., those who were willing to speak out) wanted to reject the plan. See also: http://www.videojug.com/film/how-to-use-ie-and-eg -Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Comments on Haskell 2010 Report

2010-07-09 Thread Steve Schafer
by commas. The two sources mentioned on that page that suggest omitting the commas (Fowler's and Oxrford) are both based on UK English. -Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Vague: Assembly line process

2010-06-16 Thread Steve Schafer
a matrix of functions. But then I got lost trying to find a way to invert such a matrix. You'd have to have a general way of finding the inverse of a function, which doesn't exist (many functions aren't invertible at all, for example). -Steve

Re: [Haskell-cafe] Vague: Assembly line process

2010-06-15 Thread Steve Schafer
if either of the primary -- constraints is satisfied -Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: US Patent for the idea ...

2010-04-18 Thread Steve Schafer
characteristics of disk latency, etc., could very well be patentable. -Steve Schafer ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Hackage accounts and real names

2010-04-06 Thread Steve Schafer
On Tue, 06 Apr 2010 14:57:30 +0200, you wrote: I agree, and this is why I phased out apfelmus in favor of the pseudonym Heinrich Apfelmus. You mean your name isn't really Applesauce? Steve Schafer ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Re: Are there any female Haskellers?

2010-03-29 Thread Steve Schafer
to discriminate in favor of is smaller than the difference between individuals. -Steve Schafer ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Are there any female Haskellers?

2010-03-29 Thread Steve Schafer
As or Bs, because there is nearly always substantial overlap between the categories in whatever criterion it is that you're measuring. -Steve Schafer ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell-cafe] Re: Asynchronous exception wormholes kill modularity

2010-03-25 Thread Steve Schafer
don't have to worry about failures at all. You generally only care about atomicity at some outer, observable level; there is rarely any point in worrying about nested atomicity. Steve Schafer ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell-cafe] Very imperfect hash function

2010-01-28 Thread Steve Schafer
the internal redundancy of the keys to come up with an efficient function? Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Language simplicity

2010-01-14 Thread Steve Schafer
...) (if test (begin stmt1 stmt2 ...)) (let ((if #t)) (when if (set! if 'now)) if)) Evaluating the above returns now. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com

[Haskell-cafe] Re: FASTER primes

2009-12-30 Thread Steve
) and using the array without creating a list is 50+% faster. It looks like a very fast method for creating the 'set' of primes up to bound. Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Allowing hyphens in identifiers

2009-12-18 Thread Steve Schafer
actually be drawn away from Preset/Present and towards Colour, noticing that it is spelled incorrectly... Count me in the prefers hyphens camp, by the way. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list

[Haskell-cafe] Re: Simple FAST lazy functional primes

2009-11-03 Thread Steve
functional approach. Regards, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Slow IO?

2009-09-01 Thread Steve
that benchmarking code on one single CPU/memory/OS/ghc combination does not give results that apply widely. I'm using: AMD Athlon X2 4800 2GB memory Linux (Fedora 11, 64-bit version) ghc 6.10.3 Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Slow IO?

2009-09-01 Thread Steve
On Wed, 2009-09-02 at 11:55 +0800, Steve wrote: On Tue, 2009-09-01 at 08:45 +0400, Eugene Kirpichov wrote: Hm, on my machine Don's code has exactly the same performance my code above. That's strange. Also, replacing the 'test' and 'parse' functions with this one add :: Int - Int

Re: [Haskell-cafe] Slow IO?

2009-08-31 Thread Steve
as fast as your method. Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Slow IO?

2009-08-30 Thread Steve
? Regards, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Slow IO?

2009-08-30 Thread Steve
Data.ByteString but then found that 'read' needs a String, not a ByteString. I tried using buffered IO, but it did not make any difference. Any suggestions on how to speed it up? Regards, Steve Did you try readInt? http://hackage.haskell.org/packages/archive/bytestring/0.9.1.4/doc

Re: [Haskell-cafe] Slow IO?

2009-08-30 Thread Steve
readInt improvement. Steve module Main where import qualified Data.ByteString.Lazy as B import Data.ByteString.Nums.Careless -- from bytestring-nums package bint :: B.ByteString - Int bint = int main = do line : rest - B.split 10 `fmap` B.getContents let [n, k] = map int . B.split 32

Re: Re[2]: [Haskell-cafe] Slow IO?

2009-08-30 Thread Steve
On Sun, 2009-08-30 at 16:15 +0400, Bulat Ziganshin wrote: Hello Steve, Sunday, August 30, 2009, 3:54:53 PM, you wrote: So it looks like Haskell is ~13 slower for IO than C/C++, even (I assume) when using Data.ByteString or other speed-up tricks. it means that *your* program is 13x

Re: [Haskell-cafe] Slow IO?

2009-08-30 Thread Steve
On Sun, 2009-08-30 at 16:34 +0400, Eugene Kirpichov wrote: Here's my version that works in 0.7s for me for a file with 10^7 9's but for some reason gets a 'wrong answer' at SPOJ :) {-# LANGUAGE BangPatterns #-} module Main where import qualified Data.ByteString.Lazy as B import

[Haskell-cafe] Re: Is logBase right?

2009-08-23 Thread Steve
2.6) has improved the handling of floating point numbers, and addresses exactly the problem that Roberto has raised. I see no reason why Haskell could not improve its handling of floating point numbers by using similar techniques. Steve ___ Haskell-Cafe

Re: [Haskell-cafe] Re: Is logBase right?

2009-08-23 Thread Steve
697.04157958254996 10 697.0415795826 which is not the desired result. Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Is logBase right?

2009-08-23 Thread Steve
On Sun, 2009-08-23 at 17:36 +0400, Bulat Ziganshin wrote: Hello Steve, Sunday, August 23, 2009, 5:27:48 PM, you wrote: ghci roundN 697.04157958254996 10 697.0415795826 afair, double has 13 decimal digits precision, so your 697.04157958254996 represented by another value. you just

[Haskell-cafe] Haskell furniture?

2009-05-25 Thread Steve Schafer
Here is some furniture that ought to appeal to the Haskell afficionado: http://karl-andersson.se/view_product.asp?rangeId=39catId=2picture=2 Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] gcd

2009-05-04 Thread Steve
-December/008560.html On Sat, 2009-05-02 at 13:17 +0200, Martijn van Steenbergen wrote: Hi Steve, Steve wrote: Why is gcd 0 0 undefined? That's a good question. Can you submit an official proposal? http://www.haskell.org/haskellwiki/Library_submissions Thanks, Martijn. OK, I'll

[Haskell-cafe] gcd

2009-05-01 Thread Steve
with the generalization for commutative rings given below. An added advantage, for haskell, of defining gcd 0 0 = 0 is that gcd would change from being a partial function to a total function. Regards, Steve ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] FRP, integration and differential equations.

2009-04-23 Thread Steve Lihn
Just my two cents. The open source project Maxima is a very successful math engine dedicated to solving ODE PDE and integration among many other things. It is implemented in LISP. Steve On 4/21/09, jean-christophe mincke jeanchristophe.min...@gmail.com wrote: Peter, Paul, But my question

Re: [Haskell-cafe] Sugestion for a Haskell mascot

2009-03-10 Thread Steve Schafer
(if that is the right term in english) on plush sloth bears. A sloth bear is a kind of bear, not a sloth. Amazon also has some sloth stuffed animals, too. If you get one that's reasonably large, then you can get a lambda-imprinted Cafe Press t-shirt in an infant size that would fit it. Steve Schafer

Re: [Haskell-cafe] Comments from OCaml Hacker Brian Hurt

2009-01-16 Thread Steve Schafer
'? Those things are the rough equivalents of terms like `monoid'. Stress, probably, at least in basic terms. Tensor, probably not. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Comments from OCaml Hacker Brian Hurt

2009-01-15 Thread Steve Schafer
your product only at the kinds of engineers who _can_ do those things, you will be reaching a tiny, tiny fraction of the overall population. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe

Re: Names in Haskell (Was: [Haskell-cafe] Comments from OCaml HackerBr ian Hurt)

2009-01-15 Thread Steve Schafer
-esque journey that never seems to get anywhere. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Computer time, independent of date

2009-01-10 Thread Steve Schafer
certainly care about that magnitude of error. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Computer time, independent of date

2009-01-09 Thread Steve Schafer
with lots of tall buildings, it might be difficult to obtain a GPS signal of high enough quality. Some of the purpose-built GPS time receivers have better antennas than a consumer-grade GPS device. Steve Schafer Fenestra Technologies Corp http://www.fenestra.com

Re: [Haskell-cafe] Re: Computer time, independent of date

2009-01-09 Thread Steve Schafer
On Fri, 09 Jan 2009 09:28:49 -0600, you wrote: I'm not sure that the original question implied *that* level of need. I can't imagine being worried about leap seconds yet at the same time being willing to accept the potential vagaries of any of the built-in clocks. Steve Schafer Fenestra

[Haskell-cafe] ghc on CentOS 5 ?

2008-12-12 Thread Steve Lihn
it to EPEL? Or is there any missing piece preventing it? Thanks, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Interesting new user perspective

2008-10-10 Thread Steve Schafer
of the look and feel of what programmers from other languages are comfortable with. And then transform that program, step-by-step, into something that takes advantage of Haskell's strengths. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com

Re: [Haskell-cafe] Re: Microsoft's Craig Mundie outlines the future of computing

2008-09-26 Thread Steve Lihn
for the future of computing :-) On Thu, Sep 25, 2008 at 2:56 PM, Achim Schneider [EMAIL PROTECTED] wrote: Brandon S. Allbery KF8NH [EMAIL PROTECTED] wrote: On Sep 25, 2008, at 13:50 , Achim Schneider wrote: Lihn, Steve [EMAIL PROTECTED] wrote: Notice: This e-mail message, together with any

[Haskell-cafe] Microsoft's Craig Mundie outlines the future of computing

2008-09-25 Thread Lihn, Steve
http://news.cnet.com/8301-13953_3-10050826-80.html?part=rsssubj=newsta g=2547-1_3-0-5 We have to see a paradigm change in the way we write applications. He also said that software development hasn't graduated to become a formal engineering discipline. The resilience of systems is not up to the

Re: [Haskell-cafe] An interesting curiosity

2008-09-18 Thread Steve Schafer
function, in fact) that also has a side effect. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Windows details

2008-09-11 Thread Steve Schafer
see reported in the Properties dialog, but it's quite possible that you're setting the value of the wrong one, and that's why you're not seeing what you expect. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing

Re: [Haskell-cafe] Windows details

2008-09-09 Thread Steve Schafer
a set of TrueType fonts into the EXE.) There are a gazillion resource editors available for modifying the resources linked into an EXE; go to the Wikipedia page for a reasonable starting point: http://en.wikipedia.org/wiki/Resource_(Windows) Steve Schafer Fenestra Technologies Corp http

Re: [Haskell-cafe] Linker problems linking FFI import call in Windo ws

2008-07-16 Thread Steve Schafer
that is all about. This is known as name mangling. See the Wikipedia article for more info: http://en.wikipedia.org/wiki/Name_mangling Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] Access to Oracle database from Haskell

2008-06-21 Thread Steve Lihn
Oracle OCI interface is quite different between 7/8 and 9/10. And 10 is different from 9 in some respect. I don't know much about 11. Oracle 10.2.0.3 is a stable release, but there are some major server bugs in it, that Oracle had to release 10.2.0.4. I'd recommend Haskell community to focus on

Re: [Haskell-cafe] Access to Oracle database from Haskell

2008-06-20 Thread Steve Lihn
You may want to check this out. http://www.orafaq.com/wiki/ODBC_FAQ#Where_can_one_get_ODBC_drivers_for_Oracle_and_Rdb.3F As Oracle is a commercial company who is not interested in open source historically, it is little chance that you will get robust software for free -- from someone with many

Re: [Haskell-cafe] approximating pi

2008-04-30 Thread Steve Schafer
will necessarily map to the same screen pixel. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Higher order randomness and the fat tails

2008-04-25 Thread Steve Lihn
tail is observed in astronomy. Thanks and sorry for the spam, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN: Hayoo! beta 0.1

2008-04-08 Thread Steve Lihn
Bug report: I am using IE6. The Powered by bar at the bottom does not reposition as I scroll down. So there is a small portion on the page always masked by the Powered by bar. Nice work. Great google-like speed... Steve On 4/8/08, Timo B. Hübel [EMAIL PROTECTED] wrote: Hello, thanks

Re: [Haskell-cafe] Satnam Singh of Microsoft Research

2008-03-19 Thread Steve Lihn
Related news -- Intel, Microsoft choose UC-Berkeley to host $10M parallel computing center March 19, 2008 8:36 AM ET http://news.moneycentral.msn.com/provider/providerarticle.aspx?feed=ACBJdate=20080319id=8361298 ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] ANN: Hoogle 3.1

2008-02-29 Thread Steve Lihn
Interesting to know people are looking for \where\. As a fairly new Haskeller, I bumped into frequent indentation issues (if-then-else, case, where, let, do, etc) and sometimes not sure where to place \where\ properly. Maybe beginners are having problem with syntax more than other things and they

[Haskell-cafe] ArrowChoice for simulation arrow (Sim)

2008-02-28 Thread Steve Lihn
the ArrowChoice definition for Sim ? Thanks, Steve [1] http://www.cs.chalmers.se/~rjmh/afp-arrows.pdf ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: ANN: Hoogle 3.1

2008-02-28 Thread Steve Lihn
Neil, Would you consider adding auto-complete feature on Hoogle in the forth coming release? http://wiki.script.aculo.us/scriptaculous/show/Ajax.Autocompleter ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Re: ANN: Hoogle 3.1

2008-02-28 Thread Steve Lihn
You can try aggressive caching and indexing (which google uses often) based on 20-80 rule. http://en.wikipedia.org/wiki/Pareto_principle On Thu, Feb 28, 2008 at 7:49 PM, Neil Mitchell [EMAIL PROTECTED] wrote: Hi Steve, Would you consider adding auto-complete feature on Hoogle in the forth

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-24 Thread Steve Lihn
System.IO.Unsafe 81 9 Foreign 74 10 Data.Map 68 Steve On Sat, Feb 23, 2008 at 5:25 PM, Ross Paterson [EMAIL PROTECTED] wrote: On Sat, Feb 23, 2008 at 10:59:40AM -0500, Steve Lihn wrote: I parsed through all the hackagedb modules. I also added the display of repository source (ghc, hdb

Re: [Haskell-cafe] A little toy of Haskell Trivia

2008-02-23 Thread Steve Lihn
if you have any question. http://haskell.ecoin.net/haskell-trivia.tgz Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] A beginners question

2008-02-23 Thread Steve Lihn
fmap (^4) [1,2,3] = \i - shows i gives 1 16 81 You are in the list comprehension in a monadic expression. shows is called three times (i is int). then why does let i = fmap (^4) [1,2,3] in shows i give [1,16,81] shows is called once (i is a list).

[Haskell-cafe] A little toy of Haskell Trivia

2008-02-20 Thread Steve Lihn
I proudly announce a little toy that lists the frequency of modules being imported by other modules. Do you know Control.Monad is the most frequently imported module? I did not! Currently it only includes GHC 6.8 core library. If you have any idea how to parse through HackageDB code, please let

Re: [Haskell-cafe] Where does ~ come from?

2008-02-20 Thread Steve Lihn
If ~ does not have any special meaning and it could be ### or xyz, then how does GHC know to print a ~ b, but not ~ a b a ### b, but not ### a b xyz a b, but not a `xyz` b Simply because xyz is alphanumeric? On Wed, Feb 20, 2008 at 12:34 AM, David Menendez [EMAIL PROTECTED] wrote: On Feb

[Haskell-cafe] Where does ~ come from?

2008-02-16 Thread Steve Lihn
wonder if anybody has the same problem. If enough crowd have the same problem, maybe there could be a better way to handle this kind of documentation/learning issue! Thanks, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] a general question on Arrows

2008-02-14 Thread Steve Lihn
distribution of the experiment. Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] ANN: nano-hmac 0.2.0

2008-02-13 Thread Steve Lihn
And in perl CPAN world, there are bundles that put together related packages in one big install... Maybe there can be Cabal bundles. Just an idea! On Feb 12, 2008 2:03 PM, Don Stewart [EMAIL PROTECTED] wrote: Ok, I'll leave it up there as a separate package then. :) -- Don hitesh.jasani:

[Haskell-cafe] a general question on Arrows

2008-02-13 Thread Steve Lihn
, Steve [1] http://www.cs.chalmers.se/~rjmh/afp-arrows.pdf ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANN: Finance-Treasury 0.1.1

2008-02-09 Thread Steve Lihn
-scripts/package/Finance-Treasury The APIs are largely working. But the internal code still needs improvement. Welcome suggestions and fixes. Recommendation on proper error handling design will be particularly appreciated. steve ___ Haskell-Cafe mailing

[Haskell-cafe] How to make GHC 6.6 and 6.8 co-exist -- was: First go at reactive programming

2008-01-28 Thread Steve Lihn
. That is a lot of work! Regards, Steve On Jan 19, 2008 12:38 PM, [EMAIL PROTECTED] wrote: ... I am asking this question in another thread. The problem is -- I've got many modules compiled under 6.6, some with much agony. If I switch to 6.8, I have to recompile them again. Two issues I image

Re: [Haskell-cafe] hxt memory useage

2008-01-27 Thread Steve Lihn
Suggestion: a binding to Expat, like perl and python did. So this is a request for an xml-light based on lazy bytestrings, designed for speed at all costs? -- Don ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] Re: need help for cabal-install

2008-01-21 Thread Steve Lihn
Duncan, I got the latest cabal. The stack overflow is fixed. But the install command still does not work (on a very simple package). Attached is the verbose output. It does not like to proceed somewhere between configure and build. But the verbose is not telling why! I also attached my cabal

Re: [Haskell-cafe] First go at reactive programming

2008-01-20 Thread Steve Lihn
This fixed the second example. Thanks. I think handleConnection should be handleConnection :: RequestHandler - Handle - IO () handleConnection r h = handleToRequest h = responseSend h . runRequestHandler r Levi ___ Haskell-Cafe mailing

Re: [Haskell-cafe] First go at reactive programming

2008-01-19 Thread Steve Lihn
`Control.Monad' does not export `forever' Forever is in the latest library, but not in my GHC 6.6. I am not sure how to get this fixed. Any suggestion? http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Monad.html Steve On Jan 19, 2008 1:31 AM, Conal Elliott [EMAIL PROTECTED

Re: [Haskell-cafe] Re: need help for cabal-install

2008-01-19 Thread Steve Lihn
version of cabal-install --user is the default and the default user prefix is $HOME/.cabal (though both can be changed in the config file). Is this newer than 12 hours ago? I tried cabal install --prefix=/path package (without --user). That did not seem to work... Steve

Re: [Haskell-cafe] Re: need help for cabal-install

2008-01-19 Thread Steve Lihn
Just tried to test drive another feature and got the nasty error: cabal list Stack space overflow: current size 8388608 bytes. Use `+RTS -Ksize' to increase it. On Jan 19, 2008 9:27 AM, Steve Lihn [EMAIL PROTECTED] wrote: On Jan 19, 2008 9:18 AM, Duncan Coutts [EMAIL PROTECTED] wrote

[Haskell-cafe] How best to make GHC 6.6 and 6.8 co-exist on one server/account

2008-01-19 Thread Steve Lihn
. Correct? Thanks, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] First go at reactive programming

2008-01-19 Thread Steve Lihn
argument of `(.)', namely `fmap (handleConnection r)' Thanks. Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] need help for cabal-install

2008-01-18 Thread Steve Lihn
complains failed to install package. Help is appreciated. Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] First go at reactive programming

2008-01-18 Thread Steve Lihn
on 6.6) Thanks, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] haskelldb basic documentation needed

2008-01-16 Thread Steve Lihn
For mysql (via HDBC),some documentation is available here. But it is rather going through HDBC-ODBC-mysql. It is a bit complex than you would normally expect with mysql. http://en.wikibooks.org/wiki/Haskell/Database 2008/1/15 Justin Bailey [EMAIL PROTECTED]: 2008/1/15 Immanuel Normann [EMAIL

[Haskell-cafe] How to add ENV variable in runhaskell shell script

2008-01-13 Thread Steve Lihn
I do this in Haskell if I am writing the same script using: == #!/path/to/runhaskell {- how to set LD_LIBRARY_PATH = ... ? -} do my haskell stuff == Thanks, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

RE: [Haskell-cafe] Consensus about databases / serialization

2008-01-03 Thread Lihn, Steve
things are optimized. Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Verswyvelen Subject: RE: [Haskell-cafe] Consensus about databases / serialization Yitz wrote: My impression from some previous posts is that because of the high-level

Re: [Haskell-cafe] Consensus about databases / serialization

2008-01-02 Thread Steve Lihn
I have started documenting the Database Wikibook, in particular, about HDBC. It is still very rough at this time, but something is better than nothing :-) If you want to add more content, certainly welcome! http://en.wikibooks.org/wiki/Haskell/Database On 1/2/08, Jeff Polakow [EMAIL PROTECTED]

Re: [Haskell-cafe] Interesting data structure

2007-12-29 Thread Steve Lihn
in your case.. If you came up with a solution, it might have invented the H2EE. Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

RE: [Haskell-cafe] Missing join and split

2007-12-28 Thread Lihn, Steve
) = a This identity rule does not hold for perl's join/split if regex is used. Steve -Original Message- On Dec 28, 2007 4:24 PM, Benja Fallenstein [EMAIL PROTECTED] wrote: Right; I misspoke. What I meant was that you would want a split such that intercalate a (split a xs

Re: [Haskell-cafe] Re: Comments on reading two ints off Bytestring

2007-12-26 Thread Steve Lihn
Just curious -- how can this be done in Arrows instead of Manad/T? Or can it? On Dec 26, 2007 6:42 AM, Benja Fallenstein [EMAIL PROTECTED] wrote: On Dec 23, 2007 1:44 PM, Isaac Dupree [EMAIL PROTECTED] wrote: parseHeader3 :: BS.ByteString - Maybe (Int, Int) parseHeader3 bs = do (x,

Re: [Haskell-cafe] Re: DSL question -- was: New slogan for haskell.org

2007-12-26 Thread Steve Lihn
, Bjorn Buckwalter [EMAIL PROTECTED] wrote: Steve Lihn stevelihn at gmail.com writes: I do come aross a question while reading the DSL page on Wikipedia. http://en.wikipedia.org/wiki/Domain-specific_programming_language In the Disadvantage section (near the end), there is an item -- hard

[Haskell-cafe] Hoogle search scope question -- was: [HXT] Simple question

2007-12-22 Thread Steve Lihn
of Hoogle or what is not. Thanks, Steve On Dec 19, 2007 7:48 AM, Miguel Mitrofanov [EMAIL PROTECTED] wrote: Seems rather strange for me, I've just installed HXT and got this: Prelude Text.XML.HXT.Arrow runX $ readString [(a_validate,0)] this /this writeDocumentToString [] [?xml version=\1.0

[Haskell-cafe] DSL question -- was: New slogan for haskell.org

2007-12-19 Thread Steve Lihn
/Domain-specific_programming_language In the Disadvantage section (near the end), there is an item -- hard or impossible to debug. Can anybody explain why or what it means? And how does it apply to Haskell? -- steve On 12/11/07, Brandon S. Allbery KF8NH [EMAIL PROTECTED] wrote: * Domain

FFI question -- was: [Haskell-cafe] New slogan for haskell.org

2007-12-19 Thread Steve Lihn
on this? Thanks, Steve ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] New slogan for haskell.org

2007-12-11 Thread Steve Lihn
decide to bet his project on Haskell. That is the thought process I am struggling through right now. steve On Dec 11, 2007 9:12 PM, [EMAIL PROTECTED] wrote: FWIW to the discussion about changing the main page, I was reading the CUFP paper and I saw some germane comments (and the writer

RE: [Haskell-cafe] Is there a module for multivariate linear regression?

2007-11-06 Thread Lihn, Steve
Thanks. I have been wondering if there is a Haskell interface to Octave and maybe to Scilab. Steve -Original Message- From: Henning Thielemann [mailto:[EMAIL PROTECTED] I am looking for a Haskell module that will do multivariate linear regression. Does someone know which module

RE: [Haskell-cafe] Is there a module for multivariate linear regression?

2007-11-05 Thread Lihn, Steve
if nothing obvious comes up... Thanks, Steve -Original Message- I am looking for a Haskell module that will do multivariate linear regression. Does someone know which module will do it? That is, the equivalent of Perl's Statistics::Regression.pm. [1]http://search.cpan.org/~itub

RE: [Haskell-cafe] Is there a module for multivariate linear regression?

2007-11-05 Thread Lihn, Steve
as a new module, though, if you're keen.. This may be the only alternative if nothing obvious comes up... Thanks, Steve -Original Message- I am looking for a Haskell module that will do multivariate linear regression. Does someone know which module will do it? That is, the equivalent

[Haskell-cafe] Is there a module for multivariate linear regression?

2007-11-01 Thread Lihn, Steve
I am looking for a Haskell module that will do multivariate linear regression. Does someone know which module will do it? That is, the equivalent of Perl's Statistics::Regression.pm. http://search.cpan.org/~itub/PerlMol-0.35_00.ppm/lib/Statistics/Regression.pm Thanks, Steve

RE: [Haskell-cafe] How to thoroughly clean up Haskell stuff on linux

2007-10-26 Thread Lihn, Steve
works fine. Just be careful when dealing with Lambdabot (and GOA). BTW, the 661 rpm depends on gmp-devel and readline, which further complicated the case for non-root user. Steve From: Thomas Hartman [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2007 10:04 AM

RE: [Haskell-cafe] How to thoroughly clean up Haskell stuff on linux

2007-10-15 Thread Lihn, Steve
into eventually. I understand that putting two large compilers (ghc+hugs) may take a lot space, but for smaller utilities, it would be nice if they are included (if there is no unwelcomed side effect). Steve -Original Message- From: Stefan O'Rear [mailto:[EMAIL PROTECTED] Sent: Friday

Re: [Haskell-cafe] Re: Type-level arithmetic

2007-10-12 Thread Steve Schafer
different from a general-purpose programming language? You're just drawing the line in the sand in a different place. You end up with a programming system where compilation is a side effect of executing the real program. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com

Re: [Haskell-cafe] Filesystem questions

2007-10-12 Thread Steve Schafer
the same thing if you use the DIR command from a command-line prompt. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Re: Type-level arithmetic

2007-10-12 Thread Steve Schafer
. After all, Andrew's original message mentioned stuff the type system was never designed to do. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo

Re: [Haskell-cafe] Re: Type-level arithmetic

2007-10-12 Thread Steve Schafer
of using the type system to solve one of the liar/truthteller logic problems. And so on. Steve Schafer Fenestra Technologies Corp. http://www.fenestra.com/ ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell

<    1   2   3   4   >