what is the path to a particular module?

2009-08-14 Thread S. Alexander Jacobson
Is there a way from GHCi to discover the path to a particular module that you have imported or loaded? -Alex- ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: [Haskell-cafe] Database written in Haskell?

2009-08-07 Thread S. Alexander Jacobson
HAppS' IxSet library gives relational operations but does not have a SQL interface. Am thinking of changing the name to RelSet to make the functionality clear. You can use HAppS.State to give ACID properties to operations on this data structure. -Alex- On 8/1/09 12:15 AM, Günther Schmidt

GHC 6.6 panic from Data.Binary.Builder? reproducible on linux and mac os/x

2007-04-26 Thread S. Alexander Jacobson
How to reproduce: $ curl http://searchpath.org/searchpath/SearchPath.hs SearchPath.hs $ ghc --make SearchPath.hs -o sp $ ./sp -f runghc --sp HAppS.Protocols.HTTP.FileServer --http-port=7000 searchpath will download all the needed modules and calls out to shell to run this: runghc

Re: GHC 6.6 panic from Data.Binary.Builder? reproducible on linux and mac os/x

2007-04-26 Thread S. Alexander Jacobson
/HTTP/FileServer.hs --http-port=7000 interactive:1:211: Failed to load interface for `Main': Use -v to see a list of the files searched for. -Alex- On Fri, 27 Apr 2007, S. Alexander Jacobson wrote: How to reproduce: $ curl http://searchpath.org/searchpath/SearchPath.hs

[Haskell] Haskell Job Opportunity

2007-04-26 Thread S. Alexander Jacobson
HAppS LLC has part-time and full-time positions open for haskell programmers to: * improve the open source haskell codebase at HAppS.org * implement infrastructure to make it work well in Amazon S3/EC2 environments * make http://pass.net reliable enough to be used by live apps * build the

[Haskell-cafe] Haskell Job Opportunity

2007-04-26 Thread S. Alexander Jacobson
HAppS LLC has part-time and full-time positions open for haskell programmers to: * improve the open source haskell codebase at HAppS.org * implement infrastructure to make it work well in Amazon S3/EC2 environments * make http://pass.net reliable enough to be used by live apps * build the

Re: [Haskell-cafe] Re: [web-devel] A light-weight web framework

2007-04-16 Thread S. Alexander Jacobson
DrIFT is a preproxessor so it makes the build process more complex. I'd like to find a pure-haskell solution or a TH solution that doesn't require more build complexity. -Alex- On Tue, 10 Apr 2007, Marc Weber wrote: Right now, you can largely do the same thing, but you have to write the

Re: [Haskell-cafe] Re: [web-devel] A light-weight web framework

2007-04-09 Thread S. Alexander Jacobson
That is why I prefer JSON and XSLT as template languages. The client side developer can't use them to do business logic and they are both idiomatically closer to the world in which the client side developer lives. Once we get the auto-conversion to XML/JSON working in HAppS, life gets

[Haskell] -compiler-options vs {#-LANGUAGE Flags-#}

2007-03-23 Thread S. Alexander Jacobson
In theory, Haskell modules should contain all information necessary to interpret/compile them properly. In practice, many modules don't because their authors are flagging required language extensions in build systems rather than in module sources. This practice causes problems because then it

Re: [Haskell] -compiler-options vs {#-LANGUAGE Flags-#}

2007-03-23 Thread S. Alexander Jacobson
. Alexander Jacobson on 2007-03-23 17:16:26 -0400: The correct answer, I believe, is to require that module authors put flags in the module themselves where they belong. Does the OPTIONS_GHC pragma solve your issue? http://www.haskell.org/ghc/docs/latest/html/users_guide/using-ghc.html#source-file

Re: [Hs-Generics] FW: [Haskell-cafe] SYB vs HList (again)

2007-03-22 Thread S. Alexander Jacobson
declarations and that is good. -Alex- On Wed, 21 Mar 2007, Jules Bean wrote: S. Alexander Jacobson wrote: Conceptually, I think what I really want is the data structure equivalent of type inference. Just as I don't want to be forced to declare my function types, I don't want to be forced

Re: [Hs-Generics] FW: [Haskell-cafe] SYB vs HList (again)

2007-03-20 Thread S. Alexander Jacobson
. -Alex- On Thu, 15 Mar 2007, [EMAIL PROTECTED] wrote: [Please follow-up to [EMAIL PROTECTED] S. Alexander Jacobson wrote: HLists require you to define Labels and basically only use label values that are themselves either scalar or HLists. ... With SYB you create field labels using newtype

Re: [Haskell-cafe] Haskell and a new web developement mailinglist?

2007-03-20 Thread S. Alexander Jacobson
There is currently a happs mailing list. I see no reason not to broaden the subject matter to haskell web development in general. The URL for the list is http://groups.google.com/group/happs -Alex- On Tue, 20 Mar 2007, David House wrote: On 20/03/07, Marc Weber [EMAIL PROTECTED] wrote:

[Haskell-cafe] SYB vs HList (again)

2007-03-14 Thread S. Alexander Jacobson
Right now I am looking at using either SYB (Scrap Your Boilerplate) or HList Records to eliminate boilerplate for: * parsing URLEncoded strings into application data structures * generating XML/JSON from application data structures * handling adding new fields to serialized data

[Haskell-cafe] SYB and/or HList for XML, deserialization and collections

2006-12-26 Thread S. Alexander Jacobson
Having just done a major refactor of the HAppS HTTP API to make it much much easier to use, I am now thinking about simplifying the current boilerplate associated with XML serialization and state deserialization. In the case of XML, Currently the developer must manually write ToElement for

[Haskell-cafe] GADTs vs arrows/typeclasses

2006-12-06 Thread S. Alexander Jacobson
is defined like this, rather than write instances you just various evaluation functions for the Arrow GADT. -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Tue, 5 Dec 2006, Neil Mitchell wrote: Hi It seems like

[Haskell-cafe] GADT vs Arrows for parsers/FSMs/etc.

2006-12-05 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

RE: [Haskell-cafe] why are implicit types different? (cleanup)

2006-11-28 Thread S. Alexander Jacobson
. I've begun to think of use of implicit types as a sign a bad smell in the code and if I have used one somewhere, I try to eliminate it because doing so usually results in better code overall. -Alex- __ S. Alexander Jacobson tel:917-770

RE: [Haskell-cafe] why are implicit types different? (cleanup)

2006-11-27 Thread S. Alexander Jacobson
have thought the word was polymorphic, but you obvoiusly know. __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Mon, 27 Nov 2006, Simon Peyton-Jones wrote: Implicit parameters have monotypes, not polytypes. So

Re: [Haskell-cafe] Re: Debugging partial functions by the rules

2006-11-16 Thread S. Alexander Jacobson
As long as we are doing this, perhaps we should also discourage the use of (head list)? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Fri, 17 Nov 2006, Donald Bruce Stewart wrote: dons: dmhouse

RE: [Haskell-cafe] Packages and modules

2006-06-26 Thread S. Alexander Jacobson
. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Mon, 26 Jun 2006, Simon Peyton-Jones wrote: Simon and I have been thinking about fixing this, and we think we might actually do so for GHC 6.6. Your message provoked us to write up the design. It's here http

RE: [Haskell-cafe] Packages and modules

2006-06-26 Thread S. Alexander Jacobson
. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Mon, 26 Jun 2006, Simon Peyton-Jones wrote: Simon and I have been thinking about fixing this, and we think we might actually do so for GHC 6.6. Your message provoked us to write up the design. It's here http

Re: [glasgow-haskell-users] Searchpath vs. Cabalfind (was: installing a Cabal package non-exposed)

2006-06-17 Thread S. Alexander Jacobson
Oops. I just fixed the docs. The URL I am using is http://searchpath.org/default.map I intend to get an SSL cert for this but have not done so yet. -Alex- On Fri, 16 Jun 2006, Dimitry Golubovsky wrote: Alex, S. Alexander Jacobson wrote: Searchpath allows you easily to give each

Re: [Haskell-cafe] SMTP, HTTP, Telnet

2006-06-17 Thread S. Alexander Jacobson
providing: * an SMTP client, * an HTTP client, * or a Telnet client? There's a significant amount to these protocols, over and above the socket layer. Thanks, Lyle Kopnicky __ S. Alexander Jacobson tel:917-770-6565 http

[Haskell] Re: STM applications and examples?

2006-06-13 Thread S. Alexander Jacobson
___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users __ S. Alexander Jacobson tel:917-770-6565 http

Re: [Haskell-cafe] HAppS in production?

2006-06-07 Thread S. Alexander Jacobson
Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

Re: [Haskell-cafe] HAppS in production?

2006-06-07 Thread S. Alexander Jacobson
. Note: I don't know what the cap is, but reading binary from stdin is orders of magnitude simpler than prcessing HTTP and TCP so getting a 100x improvement should not be that hard. Does this make sense? -Alex- __ S. Alexander Jacobson

Re: [Haskell-cafe] HAppS in production?

2006-06-07 Thread S. Alexander Jacobson
On Thu, 8 Jun 2006, Joel Reymont wrote: On Jun 7, 2006, at 10:20 PM, S. Alexander Jacobson wrote: Does this make sense? Makes sense but almost sounds too good. :-) To be clear, the separation via binary streams has not yet been implemented. I plan to do so only if I need it. If you get

Re: [Haskell-cafe] Haskell RPC

2006-05-25 Thread S. Alexander Jacobson
client lib to talk to paypal so YMMV. -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Thu, 25 May 2006, Joel Reymont wrote: Folks, I'm curious about how the following bit of Lisp code would translate

Re: [Haskell] ANNOUNCE: Google Summer of Code Projects

2006-05-24 Thread S. Alexander Jacobson
the students good luck and good hacking! The Haskell.org Team. ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell __ S. Alexander Jacobson tel:917-770

Re: [Haskell-cafe] Haskell DB and XML libs: one user's experience

2006-05-18 Thread S. Alexander Jacobson
/mailman/listinfo/haskell-cafe __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell-cafe] web servers

2006-04-15 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Wed, 12 Apr 2006, Graham Klyne wrote: I'm interested, but I don't have the time to look right now (or in the next couple of months, as far as I can see). What would really interest me is a system that can provide

Re: 6.4.1 Bug? getServiceEntry: does not exist (no such service entry)

2006-03-23 Thread S. Alexander Jacobson
Is there a 6.4.2 binary for winXP? I assuming doing a build from source is non-trivial. -Alex- On Thu, 23 Mar 2006, Simon Marlow wrote: S. Alexander Jacobson wrote: I just upgraded to 6.4.1 from 6.4.0 and am now getting this error when I run socket code via ghci, but not when I compile

RE: 6.4.1 Bug? getServiceEntry: does not exist (no such service entry)

2006-03-23 Thread S. Alexander Jacobson
Snapshot downloads but locks up on a program that works fine w/ 6.4. -Alex- On Thu, 23 Mar 2006, Simon Marlow wrote: Binary snapshots allordy here: http://www.haskell.org/ghc/dist/stable/dist/ Cheers, Simon On 23 March 2006 16:54, S. Alexander Jacobson wrote: Is there a 6.4.2

RE: 6.4.1 Bug? getServiceEntry: does not exist (no such service entry)

2006-03-23 Thread S. Alexander Jacobson
On Thu, 23 Mar 2006, Duncan Coutts wrote: On Thu, 2006-03-23 at 13:22 -0500, S. Alexander Jacobson wrote: Snapshot downloads but locks up on a program that works fine w/ 6.4. I'm afraid we'll need a little more information than that if you intend this as a bug report. Ok, I guess

6.4.1 Bug? getServiceEntry: does not exist (no such service entry)

2006-03-22 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

[Haskell-cafe] ANN: pass.net is live in haskell!

2006-03-07 Thread S. Alexander Jacobson
. __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

ghc on on macbook pro (fwd)

2006-03-04 Thread S. Alexander Jacobson
Does ghc work on the (intel) macbooks or does it need to be rebuilt? Will code compiled for the old macs work on the macbooks or does it need to be recompiled? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

[Haskell-cafe] Credit Card Authorization code

2006-03-02 Thread S. Alexander Jacobson
I am looking for Haskell code that does credit card authorization? e.g. paypal website pro does not supply a Haskell lib. Does anyone know where to find something like this? -ALex- __ S. Alexander Jacobson tel:917-770-6565 http

[Haskell-cafe] Haskell XSLT interpreter?

2006-02-11 Thread S. Alexander Jacobson
Has anyone written a pure haskell xslt interpreter? If not, how difficult would it be to do so? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe

[Haskell] monads, records, verbosity

2006-01-05 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell-cafe] Re: Joels Time Leak

2006-01-03 Thread S. Alexander Jacobson
your business logic. FYI: I actually created a Haskell application server based on this logic called HAppS (see http://happs.org) and am in the process of getting binaryIO added to it. -Alex- __ S. Alexander Jacobson tel:917-770-6565

[Haskell] Re: ECT and SearchPath

2005-12-13 Thread S. Alexander Jacobson
out and restart ghci every time you add an import of an undownloaded module in your code. Using searcpath make thing very smooth, but this feature would make it completely so. -Alex- __ S. Alexander Jacobson tel:917-770-6565 http

RE: [Haskell-cafe] killing a running thread interactively

2005-09-22 Thread S. Alexander Jacobson
there's no instance Read ThreadId. Cheers, Simon On 21 September 2005 21:14, S. Alexander Jacobson wrote: More particularly, is there a getAllThreadIds function somewhere? -Ale- On Wed, 21 Sep 2005, S. Alexander Jacobson wrote: Is the general pattern to write all threadIds to a file

RE: [Haskell-cafe] killing a running thread interactively

2005-09-21 Thread S. Alexander Jacobson
Is the general pattern to write all threadIds to a file, and then have a separate function that takes the file and kills them? Or is there something more clever? -Alex- On Wed, 21 Sep 2005, Simon Marlow wrote: On 16 September 2005 20:42, S. Alexander Jacobson wrote: If I am running

[Haskell] implicit responses/values

2005-09-16 Thread S. Alexander Jacobson
this would work, but it strikes me as useful. Anything like that in the offing? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell@haskell.org

[Haskell-cafe] killing a running thread interactively

2005-09-16 Thread S. Alexander Jacobson
If I am running a server interactively. (using ghci). Is there any way to kill its running threads without terminating the interpreter? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

RE: [Haskell] Realistic max size of GHC heap

2005-09-15 Thread S. Alexander Jacobson
now distribute IO threads over multiple CPUs or is it still a 1 CPU system? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Thu, 15 Sep 2005, Simon Marlow wrote: On 15 September 2005 01:04, Karl Grapone

Re: [Haskell-cafe] Where to start about writing web/HTTP apps ?

2005-09-12 Thread S. Alexander Jacobson
in progress, but I have this running successfully internally already! -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Mon, 12 Sep 2005, Sam Mason wrote: gary ng wrote: I want to write apps for WEB and have briefly

Re: [Haskell-cafe] Where to start about writing web/HTTP apps ?

2005-09-12 Thread S. Alexander Jacobson
On Mon, 12 Sep 2005, Joel Reymont wrote: Why not XML-RPC? REST is more appropriate for the applications on which I work. See http://webservices.xml.com/pub/a/ws/2002/02/20/rest.html -Alex- __ S. Alexander Jacobson tel:917-770-6565

Re: [Haskell-cafe] Where to start about writing web/HTTP apps ?

2005-09-12 Thread S. Alexander Jacobson
a better example http://www.intertwingly.net/blog/2005/07/22/REST-vs-API On Mon, 12 Sep 2005, S. Alexander Jacobson wrote: On Mon, 12 Sep 2005, Joel Reymont wrote: Why not XML-RPC? REST is more appropriate for the applications on which I work. See http://webservices.xml.com/pub/a/ws/2002

Re: Set, Map libraries

2005-06-02 Thread S. Alexander Jacobson
___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

ANN: SearchPath 0.5 and Request for https module URLs

2005-05-16 Thread S. Alexander Jacobson
a baseURL. Location: http://happs.org/SearchPath.hs -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Glasgow-haskell-users mailing list Glasgow-haskell-users

[Haskell] ANN: SearchPath 0.5 and Request for https module URLs

2005-05-16 Thread S. Alexander Jacobson
a baseURL. Location: http://happs.org/SearchPath.hs -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org

[Haskell-cafe] concatMap generalizes to msumMap?

2005-05-16 Thread S. Alexander Jacobson
What is the name of the monadic generalization of concatMap? In which lib is it located? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list

Re: [Haskell-cafe] concatMap generalizes to msumMap?

2005-05-16 Thread S. Alexander Jacobson
-Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Mon, 16 May 2005, Tomasz Zielonka wrote: On Mon, May 16, 2005 at 02:57:42PM -0400, S. Alexander Jacobson wrote: What is the name of the monadic generalization

[Haskell-cafe] subRegex bug?

2005-05-11 Thread S. Alexander Jacobson
Am I misunderstanding the regex docs? *MyMod subRegex (mkRegex \\. ) foo.bar blah foo*** Exception: Text.Regex.Posix.regcomp: error in pattern -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

Re: [Haskell] Re: Proposal: Relative Module Imports

2005-05-05 Thread S. Alexander Jacobson
and still a large improvement on the status quo. Thoughts? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Tue, 3 May 2005, Samuel Bronson wrote: On 5/3/05, S. Alexander Jacobson alex at alexjacobson.com wrote: Problem

[Haskell] Proposal: Relative Module Imports

2005-05-03 Thread S. Alexander Jacobson
import Text.HaXML.XML.Escape as Escape import .Prettyimport Text.HaXML.XML.Pretty as Pretty I believe that the proposed syntax is much more concise and readable than the current equivalent. -Alex- __ S. Alexander

Re: [Haskell] How to make Haskell more popular

2005-04-01 Thread S. Alexander Jacobson
__ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Stop untracked dependencies! (was RE: mapping module identifiers to URLs (was RE: [Haskell] URLs in haskellmodule namespace))

2005-03-31 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

mapping module identifiers to URLs (was RE: [Haskell] URLs in haskell module namespace)

2005-03-29 Thread S. Alexander Jacobson
. Note: Yes, I know about Cabal's Build-Depends, but it doesn't serve the need described here. -Alex- [1] http://www.haskell.org/pipermail/libraries/2003-September/001457.html __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

Re: [Haskell] URLs in haskell module namespace

2005-03-22 Thread S. Alexander Jacobson
and that is a serious problem. -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell] URLs in haskell module namespace

2005-03-22 Thread S. Alexander Jacobson
corresponding to an old version into a data structure defined in the new version... -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell

Re: [Haskell] URLs in haskell module namespace

2005-03-22 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

Re: [Haskell-cafe] Linux device drivers

2005-03-22 Thread S. Alexander Jacobson
Would it be harder/easier better/worse to use Linux device drivers from hOp/House as opposed to writing new disk I/O stuff in Haskell? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Tue, 22 Mar 2005, Keean

[Haskell] URLs in haskell module namespace

2005-03-21 Thread S. Alexander Jacobson
the user if it is appropriate to upgrade to the new version. Does this make sense? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell mailing list Haskell

Re: [Haskell] URLs in haskell module namespace

2005-03-21 Thread S. Alexander Jacobson
module namespace.) -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Mon, 21 Mar 2005, Sven Moritz Hallberg wrote: Greetings Alexander, I have been thinking about something very much similar for some time

Re: [Haskell] URLs in haskell module namespace

2005-03-21 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Tue, 22 Mar 2005, Lemmih wrote: On Mon, 21 Mar 2005 23:06:25 +0100, Sven Moritz Hallberg [EMAIL PROTECTED] wrote: Greetings Alexander, I have been thinking about

[Haskell-cafe] implicit parameters THANK YOU!

2005-03-21 Thread S. Alexander Jacobson
that I am concerned about making mistakes. -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org

Re: [Haskell-cafe] Linux device drivers

2005-03-20 Thread S. Alexander Jacobson
Wow! Did you also implement tcp in Haskell? Does hOp or House also have the ability to write to disk? (With HAppS, I've gotten rid of the AMP part of LAMP, it would be really cool to get rid of the L as well!) -Alex- __ S. Alexander

Re: [Haskell-cafe] Linux device drivers

2005-03-20 Thread S. Alexander Jacobson
/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

[Haskell-cafe] hFileSize vs length

2005-03-11 Thread S. Alexander Jacobson
in System.Directory? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] ANN: HAppS -- Haskell Application Server v 0.3

2005-03-04 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] haskell DNS resolver w/o using FFI

2005-03-03 Thread S. Alexander Jacobson
Peter Simons told me that someone has written a DNS resolver in Haskell that doesn't rely on an FFI call. I'd love to look at it if it is available... -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

Re: [Haskell-cafe] how do I avoid excessive constructor application?

2005-03-02 Thread S. Alexander Jacobson
then claims my type is wrong. How do I fix that? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Wed, 2 Mar 2005, Henning Thielemann wrote: On Wed, 2 Mar 2005, Ben Lippmeier wrote: You can play games with the type

Re: [Haskell-cafe] how do I avoid excessive constructor application?

2005-03-02 Thread S. Alexander Jacobson
not implicit: coerceRight :: Either a b - Either c b coerceRight (Right b) = Right b Regards, Stefan __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list

[Haskell-cafe] how do I avoid excessive constructor application?

2005-03-01 Thread S. Alexander Jacobson
values just for type checking reasons, especially if your type has many more constructors than (Either a b). -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell

RE: [Haskell-cafe] how to avoid overlapping instance error?

2005-02-28 Thread S. Alexander Jacobson
this question as why not simplify instance declarations to be: instance ToSet where toSet = Set.fromList And let the typechecker take care of figuring out what instance is being specified here? -Alex- __ S. Alexander Jacobson tel

[Haskell-cafe] how to avoid overlapping instance error?

2005-02-25 Thread S. Alexander Jacobson
[] is not an instance of Table, I don't see why there should be an overlap. -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http

[Haskell] par and forkIO

2005-02-24 Thread S. Alexander Jacobson
implementations of par and forkIO in e.g. GHC take advantage multiple CPUs/cores or is special plumbing needed (GPH?)? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

[Haskell-cafe] ANN: HAppS -- Haskell Application Server v 0.2

2005-02-22 Thread S. Alexander Jacobson
is available at http://HAppS.org/HAppS/happs.tar.gz. HAppS is also available via darcs: darcs get http://happs.org/HAppS __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell

[Haskell] Data.Map missing keysFM_GE, eltsFM_GE?

2005-02-21 Thread S. Alexander Jacobson
Data.FiniteMap has functions keysFM_GE and eltsFM_GE which return the keys or elts of pairs greater than or equal to the provided key. These functions do not appear to be in the new Data.Map. Is this intentional? -Alex- __ S. Alexander

instance Show Data.Map? (was Re: [Haskell] Data.Map missing keysFM_GE, eltsFM_GE?)

2005-02-21 Thread S. Alexander Jacobson
it as (show.assocs), or to provide a Read instance. Any hope of the above, or do I need to refactor my code not to use (Read,Show) around Data.Map? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Mon, 21 Feb

Re: [Haskell] Proposal: Allow \= for field update in record update syntax

2005-02-18 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com Keean. S. Alexander Jacobson wrote: I don't know what it takes to get this sort of change into circulation, but I assume it starts with a clear and specific description of the problem

[Haskell] Proposal: Allow \= for field update in record update syntax

2005-02-17 Thread S. Alexander Jacobson
sense to use \= for this task as it is the functional generalization of C or Java's += or *= . Then myFun would have the elegant and clear syntax: myFun db myType1 =db {tMyType1\=insert myType1, nextId\=(+1)} -Alex- __ S. Alexander

[Haskell-cafe] how to name third party libraries?

2005-02-07 Thread S. Alexander Jacobson
Is there documentation somewhere about how to name third party libraries? For example, if I have HTTP and SMTP libraries, what should I call them? -alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com

Re: [Haskell] Job Posting (Looking for a few good functional programmers)

2005-02-03 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Thu, 3 Feb 2005, Yaron Minsky wrote: Jane Street Capital (an affiliate of Henry Capital http://henrycapital.com) is a proprietary trading company located in Manhattan

[Haskell] Re: [Haskell-cafe] field record update syntax

2005-01-28 Thread S. Alexander Jacobson
2005, Henning Thielemann wrote: On Thu, 27 Jan 2005, S. Alexander Jacobson wrote: I have a lot of code of the form foo {bar = fn $ bar foo} Is there a more concise syntax? I am thinking the record equivalent of C's foo+=5... I imagine there is some operator that does this e.g. foo {bar =* fn

[Haskell-cafe] wierd type errros with MPTCs

2005-01-27 Thread S. Alexander Jacobson
if I put the union implementation in the instance rather than in the class. Bot these error messages seem unreasonable. Can someone clarify? Note: I am using GHC 6.2.2 -Alex- __ S. Alexander Jacobson tel:917-770-6565 http

[Haskell-cafe] field record update syntax

2005-01-27 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] using Map rather than FiniteMap

2005-01-26 Thread S. Alexander Jacobson
)] theMap = Map.fromList zipped -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com S. Alexander Jacobson writes: After actually running the correct test, I am still getting semi-ridiculous space behavior (6k/pair

RE: [Haskell-cafe] using Map rather than FiniteMap

2005-01-26 Thread S. Alexander Jacobson
is consumed by the rest of the program. Can you provide some guidance on interpreting this data? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Wed, 26 Jan 2005, Simon Marlow wrote: On 25 January 2005 23:27

Re: [Haskell-cafe] what is a stack overflow?

2005-01-25 Thread S. Alexander Jacobson
Standard Time), S. Alexander Jacobson [EMAIL PROTECTED] wrote: Thank you iavor. But the -K option doesn't appear to work with ghci. And I guess the bigger question is what sort of code causes a stack overflow. If 5M is enough stack for most programs then I obviously have some basic coding error

[Haskell-cafe] using Map rather than FiniteMap

2005-01-25 Thread S. Alexander Jacobson
- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] using Map rather than FiniteMap

2005-01-25 Thread S. Alexander Jacobson
minimal memory. I think Map picked up a lot of speed because it doesn't spaceleak, but am not sure. -Alex- On Tue, 25 Jan 2005, Ketil Malde wrote: S. Alexander Jacobson [EMAIL PROTECTED] writes: Just did a search after my last post and learned that FiniteMap is bad. Discoverd that Data.Map

Re: [Haskell-cafe] using Map rather than FiniteMap

2005-01-25 Thread S. Alexander Jacobson
anyone help? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Tue, 25 Jan 2005, Jorge Adriano Aires wrote: Just did a search after my last post and learned that FiniteMap is bad. Discoverd that Data.Map

[Haskell-cafe] what is a stack overflow?

2005-01-24 Thread S. Alexander Jacobson
item FiniteMaps. I don't think that should exceed the memory on my laptop -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] what is a stack overflow?

2005-01-24 Thread S. Alexander Jacobson
causes that? -Alex- __ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com On Mon, 24 Jan 2005, Iavor Diatchki wrote: hi, programs compile with GHC have a bunch of command line switches. you can see them by typing: myProg +RTS

[Haskell-cafe] what is inverse of mzero and return?

2005-01-21 Thread S. Alexander Jacobson
I assume there is a standard name for this class/function: instance Foo [] where foo [] = mzero foo (x:_) = return x instance Foo (Maybe x) where foo Nothing = mzero foo Just x = return x -Alex- __ S. Alexander

  1   2   3   4   >