Ok, figured it out, based on your link, Jonathan, I thought of just running:
make clean
./Setup configure
./Setup build
./Setup install
WHICH of course imports Distribution.Simple, whereas calling make blah on
the Makefile will not do the import of Distribution.Simple
I'm glad the link
On 9/3/10 12:16 AM, Ivan Lazar Miljenovic wrote:
1) How should I name the kind * versions? For example, the kind *
version of Functor is currently called Mappable with a class method of
rigidMap. What should I call the kind * version of Foldable and its
corresponding methods? Is there a valid
On 4 September 2010 17:40, wren ng thornton w...@freegeek.org wrote:
On 9/3/10 12:16 AM, Ivan Lazar Miljenovic wrote:
1) How should I name the kind * versions? For example, the kind *
version of Functor is currently called Mappable with a class method of
rigidMap. What should I call the
On 9/4/10 3:50 AM, Ivan Lazar Miljenovic wrote:
On 4 September 2010 17:40, wren ng thorntonw...@freegeek.org wrote:
So, in the interest of generality, perhaps you should just pick a letter or
a short prefix and use that for each of the classes. In my blog posts I
called them 0-monads,
On 4 September 2010 18:27, wren ng thornton w...@freegeek.org wrote:
On 9/4/10 3:50 AM, Ivan Lazar Miljenovic wrote:
On 4 September 2010 17:40, wren ng thorntonw...@freegeek.org wrote:
So, in the interest of generality, perhaps you should just pick a letter
or
a short prefix and use that
This looks great!
On Fri, Sep 3, 2010 at 4:59 PM, Christian Eltges elt...@googlemail.com wrote:
Hello,
I was wondering why the File-Icon installed by GHC with the lambda for
.hs files hasn't changed to the new
bind+lambda icon used on haskel.org.
Is this because it should be the same as the
On 4 September 2010 08:50, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
3) Am I wasting my time with this?
Not at all. Many people want a good containers API, and many people want a
cleaned up version of the categorical classes which isn't quite as involved
as category-extras. Go
On 4 September 2010 18:54, Stephen Tetley stephen.tet...@gmail.com wrote:
Supposing classes is the way to go, I think there's still a lot of
design work to be done on what the classes should be rather than how
they are implemented. The current design space (ListLike and your
Data.Containers)
Hi
Is there a similar ticket for GHC to not export instances in the case that
other instances are explicitly specified?
module Foo (
Foo(Monad)
)
instance Monad Foo where ...
instance MonadState (Foo Bar) where ...
i.e. the monad instance gets exported but
On 4 September 2010 09:57, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
Where exactly can I find these observations on the analogies between
data structures and numerical representations?
Chris Okasaki - Chapter 9 of Purely Functional Data Structures.
Ralf Hinze's slides Number
On 4 September 2010 02:02, Fritz Ruehr fru...@willamette.edu wrote:
I just wanted to send out a more public Thanks! to Chris Done for the
tryhaskell.org website and to everyone else
(including Chris) who was on the #haskell channel of IRC this afternoon when
I tried haskell, along with the
On 4 September 2010 19:01, Alexander McPhail
haskell.vivian.mcph...@gmail.com wrote:
Hi
Is there a similar ticket for GHC to not export instances in the case that
other instances are explicitly specified?
module Foo (
Foo(Monad)
)
instance Monad Foo
I've installed recent Haskell Platform and tried to wrap my head
around cabal to finally figure out how to use it.
First thing I bumped into is that cabal.exe does not know about any
remote repositories, even about hackage. So after googling I found
that I should add a line remote-repo:
On Sat, Sep 4, 2010 at 3:23 AM, Heinrich Apfelmus
apfel...@quantentunnel.de wrote:
A better reason is the data structure has
no way to implement generateKeyPair.
That's a non-problem: each algorithm (RSA, DSA, ...) implements a
function with the same type as generateKeyPair . Compare
rsa
GHC's icon is a little different from Hugs' icon. However, your icon is
prettier. WinGHCi's icon is nice too. Off course, it's just an opinion.
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
On Fri, Sep 3, 2010 at 23:02, David Menendez d...@zednenem.com wrote:
Yes, using foreign namespaces is one of the things recommended against
when serving XHTML as text/html. This says nothing about documents
following the recommendations in Appendix C.
I'm not debating that it's *possible* to
Sorry, the example was all messed up, even if it did communicate what
I wanted its just so broken I must fix.
Slightly contrived example:
buildAgreementMessage :: (Monad m, CryptoRandomGen g,
ASymetricCipher k) = g - k - m (B.ByteString, (k,k), g)
buildAgreementMessages g k = do
On Wed, Sep 1, 2010 at 1:00 PM, Daniel Fischer daniel.is.fisc...@web.dewrote:
I'm not keen on subscribing to libraries@ to follow the official proposal
process, any takers?
I'll take it up.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
I'll be starting a new job soon as systems tool guy. The shop is a
perl shop as far as internal automation tasks go. But I am fortunate
to not be working with bigots. If they see a better way, they'll take
to it. So please give me your best arguments in favor of using haskell
for task automation
2010/9/4 Michael Litchard mich...@schmong.org:
I'll be starting a new job soon as systems tool guy. The shop is a
perl shop as far as internal automation tasks go. But I am fortunate
to not be working with bigots. If they see a better way, they'll take
to it. So please give me your best
Hello -
I am following the book Real World Haskell. I am looking at the
chapter on regular expressions
and trying examples on WinGHCi. However, it cannot load
regex-posix-0.94.2 - apparently a file
regex.h is missing. I think this has been known for some time. Are there
plans to have working
I have only one thing to add to this discussion:
On Fri, Sep 3, 2010 at 5:16 AM, Ivan Lazar Miljenovic
ivan.miljeno...@gmail.com wrote:
2b) Is it OK to promote functions that use a class to being class
methods? When I was discussing this in #haskell several people
mentioned that defining
On Sat, Sep 4, 2010 at 11:07 AM, John Millikin jmilli...@gmail.com wrote:
On Fri, Sep 3, 2010 at 23:02, David Menendez d...@zednenem.com wrote:
Yes, using foreign namespaces is one of the things recommended against
when serving XHTML as text/html. This says nothing about documents
following
My usual rhetoric is that one-off, throwaway scripts never are, and not only do
they tend to stay around but they take on a life of their own. Today's 10-line
file munger is tomorrow's thousand-line ETL batch job on which the business
depends for some crucial data - yet the original author is
On Fri, Sep 3, 2010 at 8:23 AM, John Lato jwl...@gmail.com wrote:
Do you have a kind * implementation of Foldable? I'd be interested in
seeing it, because I was unable to create a usable implementation (based
upon the RMonad scheme) on my last attempt.
I always figured it would look something
I think version 0.94.4 has the regex.h file and works on Windows:
http://hackage.haskell.org/package/regex-posix-0.94.4
On 04/09/2010 18:10, John Sampson wrote:
Hello -
I am following the book Real World Haskell. I am looking at the
chapter on regular expressions
and trying examples on
The two myAction functions below seem to be equivalent and, for this small
case, show an interesting economy of code, but being far from a Haskell expert,
I have to ask, is the first function as small (code wise) as it could be?
Michael
import Control.Applicative
data Color
= Red
|
On Sat, Sep 4, 2010 at 2:06 PM, michael rice nowg...@yahoo.com wrote:
The two myAction functions below seem to be equivalent and, for this small
case, show an interesting economy of code, but being far from a Haskell
expert, I have to ask, is the first function as small (code wise) as it
Hi Dave,
I wrote the first one sometime last year and it seemed a suitably simple
example for applicative-izing to cement the ideas in some of the code I've been
going though in Learn You a Haskell ... Interesting stuff.
Onward and upward.
Thanks,
Michael
--- On Sat, 9/4/10, David Menendez
On Sat, Sep 4, 2010 at 12:19 PM, David Menendez d...@zednenem.com wrote:
HTML and XHTML are not encodings of anything. They are markup
languages defined using SGML and the XML subset of SGML. There are
multiple HTML definitions of varying popularity, and the fact that we
can pass some XHTML
Hi,
Serguey Zefirov sergueyz at gmail.com writes:
I've installed recent Haskell Platform and tried to wrap my head
around cabal to finally figure out how to use it.
[...]
Now it gives me even more interesting error: cabal.EXE: fromFlag
NoFlag. Use fromFlagOrDefault
Googling doesn't
Christian Eltges eltges at googlemail.com writes:
Hello,
I was wondering why the File-Icon installed by GHC with the lambda for
.hs files hasn't changed to the new
[...]
So if the only reason for using the old icon was, that there is no new
one, then you can use this.
Cool, thanks!
2010/9/5 Mikhail Glushenkov the.dead.shall.r...@gmail.com:
Try removing the 'Application Data/cabal' directory and running
'cabal update'. You probably made a syntax error in the config
file.
You are clearly a magician. ;)
Now it works flawlessly.
Thank you very much.
Are you trying to use the .o compiled on BSD on Linux? They are two
different operating systems. So the Linux ghci isn't using the .o,
it's using the .hs. Even getting Haskell binaries to run on two
different versions of Linux can be an adventure...
On 10-09-04 01:31 AM, John Millikin wrote:
It's not correct. Here's the exact same XHTML document (verify by
viewing the source), served with different mimetypes:
http://ianen.org/temp/inline-svg.html
http://ianen.org/temp/inline-svg.xhtml
This relies on xhtml+svg. While it is in the xhtml
We all seem to understand that there are a complex of issues surrounding the
HTML and XHTML dialects, doc types, MIME Types, and file extensions. It is a
tangle of intentions and compatibility issues, and one where experts and
standards writers admit to practical compromises, which at times are
On 10-09-04 05:46 PM, Jeremy Shaw wrote:
Mark suggested that it was easier to achieve multi-browser
compatibility using xhtml instead of html, but I am quite certain he
is mistaken. There are really three different rendering modes found in
browsers:
1. standards mode
2. quirks mode
3.
On 10-09-03 06:11 AM, Henning Thielemann wrote:
Yes, something this way. () suggests a notion of magnitude for me,
which some orderings do not have.
Like for example -1000 has a larger magnitude than -0.0001, therefore
you also reject the common ordering -1000 -0.0001?
I will be going into a situation where there are tasks that have yet
to be automated, so I will be going after that before re-writing
anything. But if I can come up with here's why, there will be less
eyebrows raised. Thanks for all feedback so far.
On Sat, Sep 4, 2010 at 10:21 AM, Gaius Hammond
On Sat, Sep 4, 2010 at 5:53 PM, Michael Litchard mich...@schmong.org wrote:
I will be going into a situation where there are tasks that have yet
to be automated, so I will be going after that before re-writing
anything. But if I can come up with here's why, there will be less
eyebrows raised.
Michael:
Hi. I take the risk to mention some facts you might already be working on.
I speculate on three perceptions in the mind of decision makers
related to the adoption of a new language in a shop.
This perceptions can be modified in stages.
First Stage: Awareness. Why programming in that
On Thu, Sep 2, 2010 at 11:14 PM, Mark Lentczner ma...@glyphic.com wrote:
I am well aware of the differences between HTML and XHTML.
I choose to switch Haddock's output from HTML to XHTML mostly because I have
found the consistency of rendering cross-browser to be greater and easier to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/4/10 21:27 , Jeremy Shaw wrote:
Here is why I am dubious. Browsers that support html and xhtml have
two different code paths for rending html vs xhtml. The *only* way to
select which code path is taken is by specifying the mime-type when
you
On Sat, Sep 4, 2010 at 8:47 PM, Brandon S Allbery KF8NH
allb...@ece.cmu.edu wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 9/4/10 21:27 , Jeremy Shaw wrote:
Here is why I am dubious. Browsers that support html and xhtml have
two different code paths for rending html vs xhtml. The
On Sat, Sep 4, 2010 at 14:46, Jeremy Shaw jer...@n-heptane.com wrote:
So the choices are:
1. only focus on getting the xhtml 1.0 served as application/xml
working correctly, and ie users get nothing..
2. create xhtml 1.0 that would work correctly if served as
application/xml, but serve it
Hi,
The following function* is supposed to decode a list of some
serialized objects following each other in a lazy Bytestring:
many :: Get a - Get [a]
many prs = many' [] where
many' a = do
s - prs
r - isEmpty
case r of
True - return (reverse a)
False - many' (s:a)
On 5 September 2010 03:34, David Menendez d...@zednenem.com wrote:
On Fri, Sep 3, 2010 at 8:23 AM, John Lato jwl...@gmail.com wrote:
Do you have a kind * implementation of Foldable? I'd be interested in
seeing it, because I was unable to create a usable implementation (based
upon the RMonad
47 matches
Mail list logo