into this yet, but any advice
gratefully received.
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
, Dougal Stanton dou...@dougalstanton.net wrote:
I've mailed the maintainer of the flickr api package but thought I
would see if other people had this experience too. Google doesn't
reveal many people using this package as far as I can tell.
In short, authentication works fine but uploading images
Java to land on
Planet Haskell and demand to be taken to our leader, whom would we take him
to?
The Haskell' committee?
They're just figureheads for a shadowy cabal :-D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
/haskell-cafe
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
any response, positive or negative.
My changes were a subset of what you have on github now. It's great to
see it being cared for again!
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
create more semi-words:
can't - can, t
shouldn't - shouldn t
It might be better regarding in-word apostrophes as letters in this case?
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe
On Thu, Apr 15, 2010 at 1:49 PM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
Johannes Waldmann waldm...@imn.htwk-leipzig.de writes:
What happened was this:
I still don't see why this other-modules is needed.
Ok, I understand the technical reason that cabal
does not do dependency
guess it's too easy to abuse (says he who was planning to abuse it)
but it's sad that there isn't something I can easily use in its place.
At the moment renaming the package is serving my purpose.
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
Hackage seems to be down again.
$ cabal update
Downloading package list from server
'http://hackage.haskell.org/packages/archive'
^Ccabal: interrupted
$ ping -c3 hackage.haskell.org
PING abbot.galois.com (69.30.63.204) 56(84) bytes of data.
--- abbot.galois.com ping statistics ---
3 packets
of marking a version private? I thought
initially to just mark the version field in the patched library as
X.y-dougal and enforce my program to compile against that, but it
doesn't seem to recognise the -dougal suffix there.
Thoughts?
D
--
Dougal Stanton
dou...@dougalstanton.net // http
the cabal file format doesn't seem to mention
how I'd go about setting my tag field. Trying Tag: dougal1 didn't
work, as I suspected ;-)
In the mean time I will try Stephen Tetley's approach of renaming the
package instead of the version.
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net
And, I've search the meaning of the symbol ~, but I've found nothing about
this (note that's not easy to search ~ on google ...)
Searching for haskell tilde produces a lot of results and they're
all relevant (on the first page at least).
D
___
.
It evaluates to a new form of bottom that blackholes the entire world...
I hear prototypes are already being used at the LHC for this very
purpose. Well-typed doomsday machines can't go wrong ;-)
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
On Thu, Nov 19, 2009 at 10:47 AM, Cristiano Paris fr...@theshire.org wrote:
On Mon, Nov 16, 2009 at 6:26 PM, Gwern Branwen gwe...@gmail.com wrote:
...
Too late:
...
http://hackage.haskell.org/package/loli
What's the point with loli?
Mrs Lopsided has all the loli.
D
--
Dougal Stanton
dou
this code, then I
realised those aren't comment delimiters in Haskell! :-)
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo
Has not been responding for at least the last 12 hours.
Is there somewhere to look for status reports on sysadmin details like
this, so we can tell if
- it's a scheduled down time
- it's a problem but the admins know about it
- etc etc.
D
--
Dougal Stanton
dou...@dougalstanton.net // http
/HsASA-0.1
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Sun, Sep 27, 2009 at 9:17 PM, Paul Moore p.f.mo...@gmail.com wrote:
That's odd, it seems to be saying it's not installed at all! Hmm, no -
I did a cabal install --user (because Vista doesn't let me do
site-wide installs), looks like cabal list doesn't pick up user
installs.
Hmm, cabal
://sparky.haskell.org:8080/;
-- Duncan Coutts
Thanks everyone who took part and who supplied an elegant summary of
their work that weekend. I hope you all had a good time!
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
. But please pass
this message along if you know there's someone we missed.
Cheers,
Dougal
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman
On Fri, Jul 17, 2009 at 4:38 PM, Conor
McBrideco...@strictlypositive.org wrote:
class Private x where
public :: (forall x. Public x = x - y) - y
public f = f Pike
data Pike = Pike
instance Private Pike
instance Public Pike
--
But if I don't tell 'em
On Thu, Jul 16, 2009 at 12:11 PM, Heinrich
Apfelmusapfel...@quantentunnel.de wrote:
Generic Programming: An introduction
http://www.cse.chalmers.se/~patrikj/poly/afp98/
It's a bit verbose at times, but you only need the first few chapters to
get an idea about polynomial functors (sums
of notes:
Section 4.2: Out of gamut channels be clamped to either to the range
0 to 255 -- some kind of mix-up here
Section 5: Note that\n\nOne should avoid dissolving has a spurious
line break, or an unfinished sentence.
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net // http
and so on.
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
of Hudak's _Haskell
School of Expression_ prominently. Please come up and say hello, or
fire me back a note if you can't make it but are still interested in
making this a regular meeting. Don't be shy about joining us if you're
available though!
Thanks everyone!
Dougal
--
Dougal Stanton
dou
. Edinburgh Uni teaches it to the
first years (AFAIK), Philip Wadler works here, and the ICFP and
Haskell Symposium are going to be held here later in the year. There
must be more than just the two of us! :-)
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
message above you appear to be darcs getting the root
directory of the hackage server, which isn't a valid repository.
Cheers,
D
--
Dougal Stanton
dou...@dougalstanton.net // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe
On Wed, Feb 4, 2009 at 5:32 AM, Benjamin L. Russell
dekudekup...@yahoo.com wrote:
If neither #haskell nor #haskell-in-depth is appropriate,
perhaps they would feel more comfortable in a
Haskell-beginners-specific channel?
The danger with that is the only people who go there are beginners
On Mon, Feb 2, 2009 at 12:01 AM, Duncan Coutts
duncan.cou...@worc.ox.ac.uk wrote:
The solution is to upgrade:
$ cabal install cabal-install
$ cabal --version
cabal-install version 0.6.0
using version 1.6.0.1 of the Cabal library
Yes, this was the problem, despite me upgrading
read cabal file ./Glob/0.1/Glob.cabal
Any ideas? As far as Hackage and the local index are concerned, 0.1
isn't even a recent version of Glob. Why should it be looking for the
file?
cabal-install version 0.5.1
using version 1.4.0.1 of the Cabal library
--
Dougal Stanton
dou...@dougalstanton.net
On Tue, Jan 20, 2009 at 3:42 PM, Heinrich Apfelmus
apfel...@quantentunnel.de wrote:
Let me explain this monoid magic, albeit not in this message which would
become far too long, but at
http://apfelmus.nfshost.com/monoid-fingertree.html
That is a very nice summary! I did my own
On Thu, Jan 15, 2009 at 11:54 PM, ChrisK hask...@list.mightyreason.com wrote:
So the original article, which coined 'Appendable', did so without much
thought in the middle of a long post. But it does show the thinking was
about collections and there is one ONE instance of Monoid at
On Fri, Jan 16, 2009 at 1:23 PM, Philippa Cowderoy fli...@flippac.org wrote:
On Thu, 15 Jan 2009, Lennart Augustsson wrote:
If I see Monoid I know what it is, if I didn't know I could just look
on Wikipedia.
And if you're a typical programmer who is now learning Haskell, this will
likely
On Wed, Jan 14, 2009 at 3:12 PM, Neil Mitchell ndmitch...@gmail.com wrote:
2) In Python it is possible to import modules inside a function.
In Haskell something like:
joinPath' root name =
joinPath [root, name]
importing System.FilePath (joinPath)
Looks a bit ugly, but
(defun avg (rest args)
(/ (apply #'+ args) (length args)))
Or as a macro like this:
(defmacro avg (rest args)
`(/ (+ ,@args) ,(length args)))
The reason the macro is better is that the length of the list is known at
compile time, so you don't need to traverse the list to calculate
to only
list things which cabal has control over. I don't know if anything has
come of that idea.
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org
2008/11/25 apostolos flessas [EMAIL PROTECTED]:
hi,
i am looking for someone to help me with an assignment!
can anyone help me?
Hi Tolis!
Have a look at the homework help policy, so you know what people will
and will not answer.
http://www.haskell.org/haskellwiki/Homework_help
Then let us
On Mon, Oct 27, 2008 at 4:49 PM, brad clawsie [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
i have a small program i have been using routinely that has stopped
working. the last alteration of my install configuration was to upgrade
the haskell-feed package as arch
://www.dougalstanton.net/code/buses/ for this code in its
wider context.
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell
On Fri, Oct 17, 2008 at 1:39 PM, Larry Evans [EMAIL PROTECTED] wrote:
do_with_assignment.proto.hs:30:2:
Couldn't match expected type `[]' against inferred type `IO'
Expected type: [t]
Inferred type: IO ()
In the expression: putStr v0=
In a 'do' expression: putStr v0=
On Fri, Oct 17, 2008 at 2:21 PM, leledumbo [EMAIL PROTECTED] wrote:
So, what's the solution? This one:
(l::[Ord]) - readLn
doesn't work (because Ord isn't a type constructor). It doesn't even comply
to Haskell 98 standard. I want to be able to read any list of ordered
elements.
I hope to
On Thu, Oct 9, 2008 at 2:08 PM, Mauricio [EMAIL PROTECTED] wrote:
Hi,
I want to use a few libraries from hackage
and have already download and built them. Can
I install those libraries somewhere in my
home dir (I want to avoid installing as root)
so that ghc can find them?
If so, which
2008/10/8 Magnus Therning [EMAIL PROTECTED]:
This morning I got tired of my desktop wallpaper (one that ships with
Debian's Gnome packages). Typing haskell desktop wallpaper yeilded
a lot of links to wallpapers with Colleen Haskell, while she's a
beautiful lady it wasn't exactly what I was
On Mon, Oct 6, 2008 at 9:48 PM, Andrew Coppin
[EMAIL PROTECTED] wrote:
Andrew Coppin wrote:
I have some longwinded code that works, but I'm still thinking about how
to do this more elegantly. It looks like what I really need is something
like
type M = StateT State (ResultSetT (ErrorT
2008/10/3 Galchin, Vasili [EMAIL PROTECTED]:
Hello,
One of my interests based on my education is grand challenge science.
Ok .. let's take the CERN Hadrian Accelerator.
Where do you think Haskell can fit into the CERN Hadrian effort
currently?
Where do you think think Haskell
2008/10/1 Cetin Sert [EMAIL PROTECTED]:
warn :: String → IO Int
warn = return 1 putStrLn-- causes an error
-- = \msg → return 1 putStrLn msg -- works just fine
-- = \msg → putStrLn msg return 1 -- works just fine
() :: Monad m ⇒ m b → m a → m b
b a = a = \_ → b
Why do
signature is from memory, but you get the idea. You pass in
two functions - one to deal with the Left and the other to deal with
the Right, and it sorts out your result for you.
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
On Mon, Sep 29, 2008 at 4:02 PM, Mitchell, Neil
[EMAIL PROTECTED] wrote:
Hi,
For me, it seems that code.haskell.org is down. Is this the case for
other people as well?
It seems code.haskell.org regularly looses connectivity for me :-(
Thanks
Neil
On Fri, Sep 26, 2008 at 11:17 AM, Thomas Davie [EMAIL PROTECTED] wrote:
Should you decide not to give someone something based on the fact that you
either don't like them, or don't like what they'll do with the thing you
give them.
That rather depends what you intend to give, doesn't it? :-)
On Fri, Sep 26, 2008 at 11:32 AM, Thomas Davie [EMAIL PROTECTED] wrote:
Sure it does -- it prevents the use of software for things that are closed
source.
Thing that are closed source is not a use of software. Programs
don't become more or less capable of designing rockets or writing
On Fri, Sep 26, 2008 at 8:01 PM, Achim Schneider [EMAIL PROTECTED] wrote:
But then you'll be happy to know that there's already Data.Stream.List,
with more coming at the same speed as we can order pizza for dons.
http://hackage.haskell.org/trac/ghc/ticket/915
I was hoping that ticket would
On Fri, Sep 26, 2008 at 11:52 PM, Bryan O'Sullivan [EMAIL PROTECTED] wrote:
Here's a writeup I posted from the conference floor this afternoon:
http://www.serpentine.com/blog/2008/09/26/some-notes-on-the-future-of-haskell-and-fp/
That's a very ominous title for such a positive write-up! It's
with cabal-install if the version
number in the .cabal file has changed.
There doesn't seem to be a good way of forcing cabal-install to
recreate a build (eg, if you want to rebuild/reinstall with
profiling). I think you need to unregister the package manually first.
:-(
D
--
Dougal Stanton
[EMAIL
bracket
(openTempFile tmpdir name)
(\(fp,h) - hClose h removeFile fp)
action
I don't know if this has the safety requirements you mean?
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing
not
available from Hackage. I've been using `cabal list | grep foo` to
search for packages but that's obviously not optimal, it seems.
I don't know what would clarify the matter. An available from
Hackage: (yes/no) field? Or a flag to pass to `cabal list` to show
Hackage stuff only?
D
--
Dougal
$ cabal update
...
$ cabal list | less
...
* cairo
Latest version installed: 0.9.13
Homepage: http://haskell.org/gtk2hs/
License: BSD3
...
$ cabal install cairo
cabal: There is no package named cairo
I must admit I was surprised to see a gtk2hs module on Hackage, but
not
2008/9/9 Conal Elliott [EMAIL PROTECTED]:
How do folks like to package up QuickCheck tests for their libraries? In
the main library? As a separate repo package? Same repo separate
package? Keeping tests with the tested code allows testing of non-exported
functionality, but can add quite
On Tue, Sep 9, 2008 at 2:05 PM, Dougal Stanton [EMAIL PROTECTED] wrote:
If they're in a separate package it's less easy to wire quickcheck
tests into the commit procedure.
And by package there, I mean repo. Obviously ;-)
D
___
Haskell-Cafe mailing
~/bin.
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On Tue, Aug 26, 2008 at 2:22 PM, Duncan Coutts
[EMAIL PROTECTED] wrote:
So when ghc finds that one of your modules needs to import something
that is not in one of the given packages it says that it's in another
package that is 'hidden'. Of course it's only hidden because Cabal told
ghc to
paying more attention and can remember who it was, and
where.
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
2008/8/14 Sean Leather [EMAIL PROTECTED]:
I can't reach www.haskell.org , and I'm having withdrawal issues.
I also can't get any response from it. It's not just you!
D
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
) { queryBusNumber = Just n }
in if isBusId n then os { query = b } else os
Variations on that ugliness are repeated four times for other fields.
Is there an alternative way to change the value of nested fields?
Thanks,
Dougal.
--
Dougal Stanton
[EMAIL PROTECTED] // http
).
($%) applies the modifier (first^:second^=10) to a concrete pair.
Hmm! Thanks for the pointer, but I'm not sure that would really clear
things up much. It seems this may just be a wart I'll have to put up
with.
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
works quite well. I've
had some success in the past shoving this stuff almost directly into
the graph libraries and out to graphviz. Be warned that it fiddles
with any file called Makefile in your working directory...
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
of IO (). Maybe try a more complete test to see how that looks?
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
? I am writing
a game of Thud (yes, from the Terry Pratchett book...) but I don't
hold much hope of their being a functional-style Thud game already in
existence!
Cheers,
D.
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell
atttempts.
Also, I had been hoping to have a go with Prompt after I saw it first
time round but couldn't remember what it was called! So thanks to Ryan
for bringing it up again.
Cheers,
D.
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
and it all works fine again.
[1]
http://www.dougalstanton.net/blog/index.php/2008/02/12/spot-the-deliberate-mistake
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
On 04/03/2008, Wolfgang Jeltsch [EMAIL PROTECTED] wrote:
Am Dienstag, 4. März 2008 16:10 schrieb Dougal Stanton:
[…]
There's a file called, IIRC, haskell.php with a large list of
keywords. Two of them, 'unzip' and 'unzip3' appear twice. Delete one
of each and it all works fine again
.
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
. Blum, P. Kanellakis, H. Crisp, and J.A. Caruso.
ProtoTech HiPer-D Joint Prototyping Demonstration Project, February
1994. Unpublished; 400 pages.
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing
merge (x:xs) (y:ys)
| x y = x : xs `merge` (y:ys)
| x y = y : (x:xs) `merge` ys
| otherwise = x : xs `merge` ys
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell
]
Or is there a better way of filtering by several predicates for each
value without using
filter p3 . filter p2 . filter p1
or
filter (\v - p1 v p2 v p3 v) vs
Cheers,
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe
= swing any
Whether that's any better than the pointwise version is up to you.
I think in this case I will use the explicit version, because I
wouldn't remember how swing worked. What is the motivation for the
name? ;-) (Do I want to hear the answer...?)
D
--
Dougal Stanton
[EMAIL PROTECTED
the notation, is that it's
all Greek to me ;-)
D
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
, a`mod`100, a`div`100)
I haven't tested this though
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
.
http://research.microsoft.com/~simonpj/papers/history-of-haskell/
It's interesting reading, I promise! ;-)
D.
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
come up is a link to the library page for
Data.Map. That would be a really good short-cut.
Once again, thanks.
Cheers,
D.
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
operation of anything. Anyone?
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
to subvert the
system a bit.
D.
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
On 22/11/2007, Richard Kelsall [EMAIL PROTECTED] wrote:
Did I do something wrong when searching haskell.org?
You didn't use Google first? ;-)
Seriously though, using the search box at haskell.org seems to be a
dead loss. I'm sure this has come up in the past.
D.
--
Dougal Stanton
[EMAIL
On 19/11/2007, Wouter Swierstra [EMAIL PROTECTED] wrote:
I am pleased to announce that a new issue of The Monad.Reader is now
available:
http://www.haskell.org/haskellwiki/The_Monad.Reader
Thanks Wouter, the haiku look great! ;-)
--
Dougal Stanton
[EMAIL PROTECTED] // http
:: Pointer a - a
star (Just a) = a
-- note this function behaves
-- in an 'authentic' fashion ;-)
To really complete the illusion it would be nice to replace the names
Just and Nothing with PointerTo and Null. Then the constructors would
really mean something. Is there a solution?
--
Dougal Stanton
On 13/11/2007, Henning Thielemann [EMAIL PROTECTED] wrote:
On Tue, 13 Nov 2007, Dougal Stanton wrote:
-- int a = 3;
-- int *pa = a;
ampersand :: t - Pointer t
ampersand a = Just a
What's bad about using 'ampersand' function as replacement for the
constructor 'Just'?
I also wanted
' :: (String - [String]) - [String] - ([String], [String])
Of course I could be very wrong with my interpretation of your problem!
Cheers,
D.
--
Dougal Stanton
[EMAIL PROTECTED] // http://www.dougalstanton.net
___
Haskell-Cafe mailing list
Haskell
On 31/10/2007, Peter Hercek [EMAIL PROTECTED] wrote:
Anyway, if Haskell would do some kind of whole program analyzes
and transformations it probably can mitigate all the problems
to a certain degree.
I think JHC is supposed to do whole-program optimisations. Rumour has
it that its Hello
On 27/10/2007, Isaac Dupree [EMAIL PROTECTED] wrote:
When I try to go to one of the Module.hs files, e.g. on
darcs.haskell.org, it now has type HS and Firefox refuses to display it
(and only lets me download it). Does anyone know how to make Firefox
treat certain file types as others (HS as
On 17/10/2007, Big_Ham [EMAIL PROTECTED] wrote:
Is there a library function to take a list of Strings and return a list of
ints showing how many times each String occurs in the list.
So for example:
[egg, egg, cheese] would return [2,1]
I couldn't find anything on a search, or anything in
On 17/10/2007, Dougal Stanton [EMAIL PROTECTED] wrote:
No, but it is also trivial to create, with the 'group' function in
Data.List. I'll stop there though, cos this could be a homework
question.
It's just occurred to me that answering questions like these is a bit
like the prisoner's dilemma
On 09/10/2007, Alex Tarkovsky [EMAIL PROTECTED] wrote:
Brent Yorgey wrote:
Aren't you going to make one featuring a catamorphism? =)
Done, thanks for the contribution! ;)
Goes to look...
...oh, very impressive! ;-) Lolcats seem to have reached a terrifying new nadir.
D.
On 25/09/2007, Andrew Coppin [EMAIL PROTECTED] wrote:
Type signature is
show_system :: [[Double]] - String
It takes a matrix representing a system of equations, and pretty prints
it. Unfortunately, doing complex formatting like that is... well,
complex. The input is quite simple (it's a
On 20/09/2007, Ryan Ingram [EMAIL PROTECTED] wrote:
I think a more consistent behavior would be to not print the LHS at
all. If you wanted to print the result of the computation you could
just do:
Prelude bar 5
or, if you also wanted bound variables afterwards:
Prelude (x, Just
On 12/09/2007, Seth Gordon [EMAIL PROTECTED] wrote:
I � Unicode.
Was it intentional that the central character appears as a little '?',
even though the aleph on the line above worked? Either way it would be
very amusing, but for different reasons...
D
On 11/09/2007, Peter Verswyvelen [EMAIL PROTECTED] wrote:
To me, Haskell was a bit like climbing a mountain which is largely
covered by fog; you don't see anything until you've climbed high enough,
and then the view is really beautiful ;-)
Either that or: the foothills are glorious, but as
On 06/09/07, Axel Gerstenberger [EMAIL PROTECTED] wrote:
module Main where
import System.IO
import Text.Printf
main :: IO ()
main = do
let all_results1 = take 2 $ step [1]
--print $ length all_results1 -- BTW: if not commented out,
--
On 06/09/07, Axel Gerstenberger [EMAIL PROTECTED] wrote:
however,I don't get it this to work. Is it possible to see the
definition of the iterate function? The online help just shows it's usage...
The Haskell 98 report includes source for the standard prelude. Check 'em out...
On 06/09/07, Sebastian Sylvan [EMAIL PROTECTED] wrote:
foo = 2 : 3 : zipWith f (drop 1 foo) foo
There's also zipWith3 etc. for functions with more arguments.
I think this is called taking a good thing too far, but cool too:
f1 u = u + 1
f2 u v = u + v
f3 u v w = u + v + w
-- functions
On 15/08/07, Asumu Takikawa [EMAIL PROTECTED] wrote:
== GuiHaskell
Guihaskell is a graphical REPL using PropLang, a GUI combinator library
built on top of Gtk2hs, which aims to be an IDE for Haskell written in
Haskell. It's still rough around the edges, so think of this as an alpha
release.
On 14/08/07, Ronald Guida [EMAIL PROTECTED] wrote:
My present goal is to understand monads well enough to be able to
explain them to others. I wonder if it's possible to create a
tutorial that explains monads well enough so that they just make
sense or click for people.
It seems everyone
1 - 100 of 186 matches
Mail list logo