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
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
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
/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
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
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
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
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
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
. 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
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
.
-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
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:
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
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
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
-
__
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
. 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
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
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
. 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
. 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
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
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
___
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
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
. 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
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
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
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
/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
-
__
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
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
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
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
-
__
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
.
__
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
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
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
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
-
__
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
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
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
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
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
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
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
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
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
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
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
___
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
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
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
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
-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
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
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
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
__
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
-
__
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
.
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
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
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
-
__
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
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
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
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
-
__
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
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
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
/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
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
-
__
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
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
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
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
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
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
[] 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
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
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
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
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
-
__
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
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
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
-
__
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
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
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
-
__
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
)]
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
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
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
-
__
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
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
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
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
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
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 - 100 of 315 matches
Mail list logo