wren I wish Haskell allowed ! to occur (non-initially) in alphanum_'
wren identifiers as well as in symbolic ones. Then we could be more
wren consistent about having ! mean strictness
BTW, does something in haskell syntax prevent '?' from appearing at the
end of identifiers ? It is a nice way to
PEM In fact, the time you'd spend writing read instances would not
PEM compare to the half hour required to learn parsec.
maybe the wiki could be updated to give more clues for a newcomer.
http://www.haskell.org/haskellwiki/Parsec
in particular :
- link 1 points to the parsec site, with
Hello Stephen,
Stephen The 10 year old documentation is very good though - for my
Stephen taste, Parsec 2.0 is the best documented Haskell lib I've seen.
Indeed the doc for 2.0 is really comprehensive, but didn't the library
evolve a lot between release 2.0 and 3.1 ?
Stephen If you want to
David I'm still trying to figure out what the point of the shootout
David really is.
It is a fun and largely flawed competition between languages and their
users :) Fun, on its own, is enough to motivate this project I guess.
--
Paul
___
What's an elegant definition of a Haskell function that takes two strings
and returns Nothing in case the first string isn't a substring of the
first, or Just i, where i is the index number of the position within the
first string where the second string begins?
my quick take, with Maybe and
Maciej I believe the biggest problem was (i.e. when migration started)
Maciej that there is no big-name-hosting supporting darcs. When
Maciej code.haskell.org went down people were cut off from code.
Please forgive me if the answer is obvious : is Darcs storage backend
agnostic, or must it
Hi Café,
Thomas I think () is fairly uncontroversial because:
Thomas (...)
Thomas 2. It's abstract. i.e., no intended pronunciation
How can that be an advantage ? A text flow with unnamed (or
unpronounceable) symbols makes reading, understanding and remembering
harder, don't you think ? I really
This should be mapM_ and 'ghc -Wall' spots this problem since 6.12.
The compiler (7.04) doesn't tell me anything about it.
Henning It seems that it is no longer part of -Wall.
Indeed, that's not part of -Wall.
http://www.haskell.org/ghc/docs/7.0.4/html/users_guide/options-sanity.html
Am I
Hem hem ... I should never try to write anything sensible before putting
my thick glasses. -w does not turn ON all warnings, but turns them OFF,
so my previous comment regarding swapping its definition with -Wall is
just nonsense. Sorry for the noise.
Still, do you think there could be room for
KC Are there plans a foot (or under fingers) to make a version of
KC Haskell that runs on the JVM?
This is probably a fun - or even useful - project, and a lot of people
have had this wish of a general convergence of language runtimes toward
a single VM such as the java one or the .net one.
Joachim point taken, if you are already building on a transformer
Joachim stack, adding yet another layer is not a problem. I’m having
Joachim mainly pure code in mind.
I think we need an other word than pure here. Usually, we understand
pure as always producing the same result when given the
On 1 November 2011 21:35, Ketil Malde ke...@malde.org wrote:
or even
Maintainer: Ketil Malde ketil at malde dot org -- email me if you
are human
Though unless the hackage email bot is smart enough, this will result
in a lot of unsendable emails...
But the bot is not a human, so that's
Ross A field in the .cabal file is just as available to bots as
Ross a field on the package page.
Yes, absolutly. There are at least one easy solution for this problem :
having a server-side user model that is related to packages, or to
packages versions, indicating wich user is the maintainer
Hey,
Rustom Does anyone give me a little comparison of these? What would all
Rustom my requirements be? Not sure... these seem important for me
Rustom 1. Need to sandbox not just haskell-projects but ghc (different
Rustom compilations/versions) itself 2. Stability of the (sandboxing)
Rustom tool
Yes
If some people don't like it, they won't use it.
I doubt it will find its way in highly technical haskell core team, but
it could appear for fun here and there in web material. For example,
I think we could have 3 variants of it, reflecting the haskell level
(beginner, confirmed, guru).
dokondr On the contrary, standard shell variable $0 - contains a full
dokondr path to the program location in the directory structure, no
dokondr matter from what directory the program was called.
I don't think the comparison makes sense, as shell script invocation and
executable run are very
dokondr Hi, I need to make the current process (executing thread) go to
dokondr sleep for a given amount of time. Can't find where threadSleep
dokondr is defined.
Maybe because there is no such threadSleep function in base packages,
what do you think ?
Ok, let's see if we can find what you are
Alexej The interesting thing is, that if I change the case ... of
Alexej statement to an if ... then ... else statement, this magically
Alexej starts to work. Since I no longer am enrolled (I have to take
Alexej the course next year), I can't ask a teacher, but my curiosity
Alexej still bugs me.
Hi,
x :: Integer - instruction1 -- Require ScopedTypeVariables
Indeed, that does require ScopedTypeVariables to be enabled, but this
basic use case is not clearly covered in the ScopedTypeVariables
documentation.
Also, it is not clear to me why ScopedTypeVariables is required at all
here, as
AntC Steve, I think that proposal has been rather superseeded by
AntC http://hackage.haskell.org/trac/ghc/wiki/Records/OverloadedRecordFields,
which
AntC draws on TDNR. But SORF is best seen as an evolving design space, with
precise
AntC details yet to be clarified/agreed. I've put my own
Steve Every programmer has their own favorite editor, usually using the same
Steve one to work in many different languages. For the moment, you'd have
Steve a hard job separating me from Notepad++.
Main editors have very advanced customization features (though
incredibly hacky most of the time).
Although it's a bit off topic, I must say I agree with Malcolm on that.
Record-fields-selection-as-functions might be sometime unconvenient, but
it is simple and easy to reason about and deal with, with usual Haskell
strategies (prefixed names, modules, qualified imports ... business as
usual).
I have quiet a lot of experience in the business of web services
strongly backed by data stores, in a company that allowed me to apply
a technologies such as RubyOnRails, DataMapper, PostgreSQL, Redis, Riak,
HappStack and Snap. Greg, with no offense intended, I will share with
the café a
For one, I am adverse to DSL based on quasi-quotation. Not because
I find the syntax hard - to be honnest it is often the opposite, with
DSL designed with ease of use in mind - but because of the volatile
nature of languages without specification, be them basic DSL. It is
quiet hard to settle on a
The most proeminent example is probably PostgreSQL, which is an
incredibly strong product with high SQL power. But as soon as you access
it through the ActiveRecord or Persistent API, it gets turned into
a very limited store, with the SQL power of SQLITE or MongoDB.
Tom Limited /= Worst,
advantage over going directly to the database is concise,
Michael type-safe code. Are you really telling me that `runSql SELECT * FROM
Michael foo where id=? [someId]` plus a bunch of marshal code is better then
Michael `get someId`?
Michael Michael
Michael On Mon, Feb 13, 2012 at 9:53 PM, Paul R paul.r
Nice, thank you. I was wondering recently what was the current state of
Gabriel's pipes and Paolo's guarded variant. IIRC, they were working on
a converging branch with good support at resources early termination.
On Sun, 26 Feb 2012 10:50:22 +, Daniel Waterworth da.waterwo...@gmail.com
Chris * https://github.com/chrisdone/pgsql-simple The PostgreSQL library
Chris that amelie uses, it's a raw tcp/ip socket interface to the server,
Chris fairly trivial and yet interesting (to me) and useful. Needs more
Chris authentication methods, and I have some opportunities for optimizing
John 0.8.1 is almost due to be put out, it will be the first to be 100%
John haskell 2010 (and haskell 98) compliant and has a lot of other neat
John features over 0.8.0.
That's great ! I can't wait to put it into my toolbox. Haskell compilers
are all pieces of art, bringing beauty to our daily
Grigory So now I wonder, what are the languages that are functional in
Grigory the sense above? With a reasonable syntax and semantics, thus
Grigory no assembler. I guess Lisp might be of this kind, but I'm not
Grigory sure. In addition, I'm not a fan of parentheses. What else?
Grigory Pure?
On Mon, 30 Apr 2012 12:27:57 -0700, Simon Michael si...@joyful.com said:
Simon With 2.8 released, I felt Darcs deserves better presentation. After
Simon surveying other VCS sites I worked on an update to our home page
Simon layout and content over the last few days, with review and input from
Simon It does discuss both camp and darcs. I meant to say the following:
Simon I was happy to be able to use Ian Lynagh's video, which I have always
Simon felt strikes a very good tone - technical, concise, grounded and
Simon energising. I like listening to it. Thanks Ian!
Indeed, the form,
be the default mode for
opening and reading a file, but I would say that the two should be made
equally simple and clear options in the standard library.
Paul R. Potts
--
Paul R. Potts - [EMAIL PROTECTED] - http://thepottshouse.org
___
Haskell-Cafe mailing
33 matches
Mail list logo