On Mon, Jun 18, 2007 at 12:23:52PM +0800, Michael T. Richter wrote:
I'm using Emacs. It gives me a text window, like any other editor
window (except where it's different) when I go to the horribly kludgy,
not-at-all-integrated-with-the-desktop-theme file menu. In fact it's
even worse. I go
Thomas Conway wrote:
I'm trying to figure out how to maximum performance out of one of my
inner loops which involves string hashing.
Consider the following hash function, which is a transliteration of a
good one written in C:
Do you need the hash function for a hash table or for
On Sunday 17 June 2007 23:56:51 Claus Reinke wrote:
i didn't know that Yi had acquired a tongue-in-cheek mode
already!-) at least i hope that's what it was, because the ermacs
lesson was not about contributing code or better language, but
about sheer size and momentum being in favour of the
On Mon, 2007-18-06 at 09:49 +0100, Pasqualino 'Titto' Assini wrote:
Maybe, just maybe, yi might play a similar role for Haskell.
This is what I am hoping for (and why I'm now trying to get Yi working).
I just hope it doesn't become the stovepipe that emacs is.
--
Michael T. Richter [EMAIL
On 6/18/07, apfelmus [EMAIL PROTECTED] wrote:
Do you need the hash function for a hash table or for
fingerprints/signatures? In the former case, Tries are a much better
choice. For launching your own trie, see also
I'm actually using them for bucket addressing for external indexing
with a
| L-System using HOpenGL), from what I've read Haskell is indeed much better
than typical OO
| languages... So it *deserves* an easy entry level IDE that will get many many
more people started with
| it.
I think you are right about that. Still, I hope this problem may in time fix
itself: the
I think that we should not underestimate the transforming power of dogged
determination.
..
So, the idea of writing an Emacs-like system in Haskell might be
ill-considered but, as you also notice in the rest of your message, that
doesn't make it worthless in a long-term perspective.
indeed.
Thanks for the nice info. I'm going to give it another try then...
When I said I don't want to learn Emacs, I meant not learning its LISP
architecture with the goal of creating my own custom Emacs...
OT: The reasons I'm looking at Haskell are:
- the object oriented approach failed for me when
Well, if I was 15 again and had no RSI in both arms, I certainly would
create a basic IDE as my first Haskell project, it would be fun ;) I've
looked at the code of Visual Haskell, but I'm not (yet/ever?) capable of
enhancing it (the Haskell part, the COM/C++ part is a lot easier for me). So
it's
Hallo,
On 6/18/07, Michael T. Richter [EMAIL PROTECTED] wrote:
Screenshots are worthless if they don't match my screen, aren't they? I guess
I can open up exactly the same file that's in your screenshot and then use your
screenshot as a background to my screen so I have the illusion of
On Sun, 17 Jun 2007, Donald Bruce Stewart wrote:
simonmarhaskell:
Henning Thielemann wrote:
The program is compiled with GHC-6.4 and option -O2, CPU clock 1.7 GHz.
ByteString is much faster with GHC 6.6, IIRC. We optimised the
representation of ForeignPtr, and ByteString takes
On Mon, 2007-06-18 at 19:35 +1000, Thomas Conway wrote:
On 6/18/07, apfelmus [EMAIL PROTECTED] wrote:
Do you need the hash function for a hash table or for
fingerprints/signatures? In the former case, Tries are a much better
choice. For launching your own trie, see also
I'm actually
Another feature which would be cool for an IDE is: implement instance. So
you automatically get to see all the functions of a type class you need to
implement. Using C#/Java, this is used all over the place.
sounds potentially useful, but perhaps not quite as useful as one might
expect: if you
Hi
not sure if this is a real project to build a Haskell IDE ...
adherence to the MS accessibility guidelines. Ironically the VS
environement seems to deviate from the corporation's own advice to
the rest of the world.
Paul
___
Haskell-Cafe
peterv wrote:
I just tried the Haskell Mode using xemacs, adjust my init.el file, loaded
my haskell file, and got great syntax highlighting! So far so good.
But people, emacs is so weird for a Windows user...
Well you're certainly quite right to observe that emacs keys are rather
Well, yes and no.
Such an IDE does not have to follow the guidelines, because as you said,
these are “flexible”. Take Microsoft Office 2007, completely new GUI,
shocked the world.
But take Eclipse. This is a fairly standard GUI, mostly the same on unix,
mac, and Windows.
IMHO, for
Hi,
I see that drscheme has support for various dialects of lisps. It also
supports algol!
is it possible to add support for haskell in drscheme? or is there any IDE
like drscheme for haskell?
==
Vikrant
___
Haskell-Cafe mailing list
That looks cool.
Just another wild idea which I might find useful, but is more like
refactoring, is to convert the fields of a record to get/set type-classes,
and refactor all usages of those fields.
So
---
data Person = Person { name :: String, age :: Float }
main = print $
On 6/18/07, Pasqualino 'Titto' Assini [EMAIL PROTECTED] wrote:
Having just presented a case for the possible rationality of the irrational
decision of creating an Emacs-like IDE in Haskell, I wonder if we should not
be even more irrational and contemplate the possibility of using Haskell to
I finally got emacs using Haskell-mode working. It seems that the latest
version of emacs support nice font smoothing on Windows; the last time I
looked it didn't. Auto indent works, inf-haskell works, really great. So far
so good.
But I have some questions I did not find in the wiki:
- How can
On Sunday 17 June 2007 08:26:45 Michael T. Richter wrote:
I'm trying to build Yi (from the darcs repository) to take a look at it.
The README that comes with it says it's a standard Cabal project so do
what you normally do (paraphrased slightly).
GNU autotools comes with a standard boilerplate
On Mon, 18 Jun 2007, Jon Harrop wrote:
I don't normally drag threads back on topic, but functional reactive GUIs seem
to be pioneered by Haskell programmers. Can anyone explain what this idea is
all about?
Since I haven't seen any replies so far, could you give us a hint?
I've seen some
Having just presented a case for the possible rationality of the
irrational decision of creating an Emacs-like IDE in Haskell, I
wonder if we should not be even more irrational and contemplate the
possibility of using Haskell to create a radically different kind of
IDE.. New technologies are
David House wrote:
Andrew Coppin writes:
The only ones I managed to actually edit files with are Nano and Pico.
But given the choice, I'd *much* rather use KWrite. (Or Kate if I really
have to.)
Despite it exhibing virtually none of your own aforementioned IDE features?
KWrite
Pasqualino 'Titto' Assini wrote:
I think that we should not underestimate the transforming power of dogged
determination.
Think of Linux: only a terminal idiot could have conceived the plan of writing
from scratch a clone of a 20 years old operating system (Unix) when everybody
knew that
Hallo,
On 6/18/07, Andrew Coppin [EMAIL PROTECTED] wrote:
OTOH... how the heck do you write an operating system in a language that
doesn't even support I/O? :-S
You can start from here: http://programatica.cs.pdx.edu/House/
Cheers,
--
-alex
http://www.ventonegro.org/
On 6/18/07, Andrew Coppin [EMAIL PROTECTED] wrote:
Pasqualino 'Titto' Assini wrote:
I think that we should not underestimate the transforming power of
dogged
determination.
Think of Linux: only a terminal idiot could have conceived the plan of
writing
from scratch a clone of a 20 years old
Mark T.B. Carroll wrote:
Andrew Coppin [EMAIL PROTECTED] writes:
(snip)
KWrite and/or Kate are almost always installed when you play with
somebody's Linux box. Emacs virtually never is.
(snip)
H. Exactly the opposite seems to be true on mine. (-:
Really? Mmm... perhaps it's
Thomas Conway wrote:
On 6/18/07, apfelmus [EMAIL PROTECTED] wrote:
Do you need the hash function for a hash table or for
fingerprints/signatures? In the former case, Tries are a much better
choice. For launching your own trie, see also
I'm actually using them for bucket addressing for
Mark T.B. Carroll wrote:
Are KWrite and Kate something to do with KDE or something? One of the
first things I do with a new Linux install is to dump all the KDE and
Gnome stuff on the basis that it's an enormous amount of bloatware for
little gain. Others may think differently! (-:
Yeah,
On 6/18/07, Andrew Coppin [EMAIL PROTECTED] wrote:
Mark T.B. Carroll wrote:
Are KWrite and Kate something to do with KDE or something? One of the
first things I do with a new Linux install is to dump all the KDE and
Gnome stuff on the basis that it's an enormous amount of bloatware for
On Monday 18 June 2007 17:36:25 Donn Cave wrote:
On Mon, 18 Jun 2007, Jon Harrop wrote:
I don't normally drag threads back on topic, but functional reactive GUIs
seem to be pioneered by Haskell programmers. Can anyone explain what this
idea is all about?
Since I haven't seen any replies
Creighton Hogg wrote:
Well, since we're on the subject and it's only the Cafe list, what is
it that you find messy about Linux that you would want to be solved by
some hypothetical Haskell OS?
This is drifting off-topic again, but here goes...
There are lots of things to like about Linux. It
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew Coppin wrote:
OTOH... how the heck do you write an operating system in a language that
doesn't even support I/O? :-S
Back when I was first learning programming, with C, I had that exact
same question: how the heck can your program DO
Creighton Hogg wrote:
On 6/18/07, *Andrew Coppin* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
That reminds me... Somebody should write an *OS* in Haskell! :-D
Well, there hasn't been a lot of work done on the subject but you
probably should look at
On 6/18/07, Andrew Coppin [EMAIL PROTECTED] wrote:
Creighton Hogg wrote:
On 6/18/07, *Andrew Coppin* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
That reminds me... Somebody should write an *OS* in Haskell! :-D
Well, there hasn't been a lot of work done on the subject but you
On Monday 18 June 2007, Jon Harrop wrote:
On Monday 18 June 2007 05:39:21 Derek Elkins wrote:
Not directed at Michael Richter specifically:
I don't normally say this stuff, but this discussion has drifted onto
topics that have nothing to do with Haskell. I personally would like
the
On 6/18/07, Andrew Coppin [EMAIL PROTECTED] wrote:
Creighton Hogg wrote:
Well, since we're on the subject and it's only the Cafe list, what is
it that you find messy about Linux that you would want to be solved by
some hypothetical Haskell OS?
This is drifting off-topic again, but here
On Mon, Jun 18, 2007 at 05:07:19PM +0200, Daniel Fischer wrote:
Plugin.hs:46:7:
Could not find module `Text.Regex':
it is a member of package regex-compat-0.71, which is hidden
which would be easy to fix if regex-compat-0.71 WERE hidden, bu it's NOT,
it's
definitely exposed.
Hi Claus,
On Monday 18 June 2007 18:14:58 Claus Reinke wrote:
Having just presented a case for the possible rationality of the
irrational decision of creating an Emacs-like IDE in Haskell, I
wonder if we should not be even more irrational and contemplate the
possibility of using Haskell to
On 6/18/07, Ian Lynagh [EMAIL PROTECTED] wrote:
On Mon, Jun 18, 2007 at 05:07:19PM +0200, Daniel Fischer wrote:
Plugin.hs:46:7:
Could not find module `Text.Regex':
it is a member of package regex-compat-0.71, which is hidden
which would be easy to fix if regex-compat-0.71 WERE
On Monday 18 June 2007 16:13:02 you wrote:
I just did a quick read through of your dream and I'm not going to say
either way with it. But I would like to point out, just to make sure
you've considered it, that my dream--or maybe my reality--involves
being able to code without the requirement
On Jun 17, 2007, at 9:55 PM, Thomas Conway wrote:
Hi All,
I'm trying to figure out how to maximum performance out of one of my
inner loops which involves string hashing.
...
mix :: Triple - Triple
This looks like a version of the Bob Jenkins hash function from
burtleburtle.net. I
Creighton Hogg wrote:
There are lots of things to like about Linux. It doesn't cost money.
It's fast. It's reliable. It's flexible. It's secure.
Okay, I'm not sure if I'd agree with the reliable secure points. I
mean, relative to what could be done. I'm a rank amateur when it
(someone else's quotes are scattered through here, my mailer lost the
nested quoting)
On Jun 18, 2007, at 16:46 , Creighton Hogg wrote:
There are lots of things to like about Linux. It doesn't cost money.
It's fast. It's reliable. It's flexible. It's secure.
As someone who was involved with
On Mon, Jun 18, 2007 at 05:07:19PM +0200, Daniel Fischer wrote:
Hi all,
so I got myself a brand new lambdabot-4.0 today, but failed miserably
building
it.
First, build-depends lists fps=0.7.
Now Data.ByteString(.*) is in base(since 6.6.1, I believe).
Easy to fix, just delete the entry
On 6/18/07, Creighton Hogg [EMAIL PROTECTED] wrote:
On 6/18/07, Andrew Coppin [EMAIL PROTECTED] wrote:
Creighton Hogg wrote:
There are lots of things to like about Linux. It doesn't cost
money.
It's fast. It's reliable. It's flexible. It's secure.
Okay, I'm not sure if
On Mon, 2007-06-18 at 22:05 +0100, Pasqualino 'Titto' Assini wrote:
Hi Claus,
On Monday 18 June 2007 18:14:58 Claus Reinke wrote:
Having just presented a case for the possible rationality of the
irrational decision of creating an Emacs-like IDE in Haskell, I
wonder if we should not be
peterv writes:
- How can I just compile and run in one go without having to type ghc
--make main.hs as arguments for the compile... command and then typing
main.exe for shell command...? This is what you do all the time when
using Visual Studio, Eclipse, etc: just hit the F5 key which
Arrrgh,
now I get to:
[ 4 of 78] Compiling Lib.Parser ( Lib/Parser.hs,
dist/build/lambdabot/lambdabot-tmp/Lib/Parser.o )
Lib/Parser.hs:7920:4: Not in scope: `as_name'
Lib/Parser.hs:7926:4: Not in scope: `qualified_name'
Lib/Parser.hs:7932:4: Not in scope: `hiding_name'
On Tue, Jun 19, 2007 at 12:36:44AM +0200, Daniel Fischer wrote:
Arrrgh,
now I get to:
[ 4 of 78] Compiling Lib.Parser ( Lib/Parser.hs,
dist/build/lambdabot/lambdabot-tmp/Lib/Parser.o )
Lib/Parser.hs:7920:4: Not in scope: `as_name'
Lib/Parser.hs:7926:4: Not in scope:
hi titto,
I actually knew about Croquet but I thought of it mostly as an open-source
second life because of its emphasys on shared 3D worlds but you are quite
right, it might also be useful for cooperative software development.
the first corporation betting its money on croquet is Qwaq:
On 6/19/07, Jan-Willem Maessen [EMAIL PROTECTED] wrote:
This looks like a version of the Bob Jenkins hash function from
burtleburtle.net. I implemented the 32-bit version of this as follows:
Indeed. It's the 64-bit version. 32 bits is oh-so-last-century. ;-)
mix :: Int32 - Int32 - Int32 -
On 6/19/07, apfelmus [EMAIL PROTECTED] wrote:
Trie it is,
not balanced tree.
A logarithm in this
would be new to me. :)
True enough, my braino.
As a side node, Mr. Exp says: 64 is large enough for the size needs of
any logarithm.
Que?
type HashTable k v = TVar (Array Int (TVar
On 2007-06-18, Andrew Coppin [EMAIL PROTECTED] wrote:
Creighton Hogg wrote:
This is another thing we're just going to disagree on. I think C++ is
a pretty messy language, but feel that straight up C is rather simple
and elegant. I had only used C++ before, but a friend rather easily
Well, since we're on the subject and it's only the Cafe list, what is
it that you find messy about Linux that you would want to be solved by
some hypothetical Haskell OS?
The hypothetical Haskell OS, especially if it were targeted toward 64
bit machines, could keep processes from messing
On Jun 18, 2007, at 19:51 , Creighton Hogg wrote:
The hypothetical Haskell OS, especially if it were targeted toward 64
bit machines, could keep processes from messing with each other by way
of language based security, and run them all in a single memory
space. (The first system to do this, I
On 6/19/07, Creighton Hogg [EMAIL PROTECTED] wrote:
Okay, I remember seeing an example of this before , but I'm not sure if I
see what language based security Haskell's type system could provide in
protecting address spaces from each other. Normally I've seen capabilities
used so that you can't
On 6/18/07, Thomas Conway [EMAIL PROTECTED] wrote:
On 6/19/07, Creighton Hogg [EMAIL PROTECTED] wrote:
Okay, I remember seeing an example of this before , but I'm not sure if
I
see what language based security Haskell's type system could provide in
protecting address spaces from each other.
Exhibit A: Package managers exist. Exhibit B: Autoconf exists.
I rest my case.
no. install the latest copy of ubuntu. look for the autotools. not
there? thats right. somehow debian/unbuntu and derived distros are
capable of installing tens of thousands of packages without nary a
compiler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Neil Mitchell wrote:
Hi,
I am pleased to announce Uniplate (formerly known as Play), a library
for boilerplate removal requiring only Haskell 98 (for normal use) and
optionally multi-parameter type classes (for more advanced features).
This
Normally I've seen capabilities used so that you can't access
anything you can't name. Can you elaborate a little?
He's saying that the language itself prevents programs from writing
outside their address spaces
Yep. Capabilities are usually not actually unforgeable, they are just
picked
On Tue, Jun 19, 2007 at 02:36:31AM +0200, Jaap Weel wrote:
Normally I've seen capabilities used so that you can't access
anything you can't name. Can you elaborate a little?
He's saying that the language itself prevents programs from writing
outside their address spaces
Yep.
Every capability system I've seen works like Unix file descriptors. The
kernel assigns capability numbers, and since the numbers are only valid
in one process, and the only valid capability numbers are to
capabilities your have, there is no danger caused by guessing.
You know, when I typed
Hi
The draft paper feels more readable and up-to-date than the manual.
That's very true! Originally there was a manual, now there is a paper
- perhaps I should take the manual down if people think that the paper
is sufficiently readable?
However I have one comment about it.
In the section
lemming:
On Sun, 17 Jun 2007, Donald Bruce Stewart wrote:
simonmarhaskell:
Henning Thielemann wrote:
The program is compiled with GHC-6.4 and option -O2, CPU clock 1.7 GHz.
ByteString is much faster with GHC 6.6, IIRC. We optimised the
representation of ForeignPtr, and
Hi
Thinking about this slightly further...
For the implementation, Data.Derive has a special case for lists,
tuples and Maybe. Its a shame that only a restricted number of types
are supported - things like Data.Map/Data.Set can be supported
perfectly, apart from restrictions in Template
On Tue, Jun 19, 2007 at 03:11:44AM +0100, Neil Mitchell wrote:
Hi
Thinking about this slightly further...
For the implementation, Data.Derive has a special case for lists,
tuples and Maybe. Its a shame that only a restricted number of types
are supported - things like Data.Map/Data.Set
On 6/18/07, Creighton Hogg [EMAIL PROTECTED] wrote:
On 6/18/07, Andrew Coppin [EMAIL PROTECTED] wrote:
Creighton Hogg wrote:
Well, since we're on the subject and it's only the Cafe list, what is
it that you find messy about Linux that you would want to be solved by
some hypothetical
On Mon, 2007-18-06 at 15:01 +0100, Pasqualino 'Titto' Assini wrote:
LambdaBot, hpaste and hoogle as well as the Haskell Wiki and indeed even this
mailing list can all be thought as elements of a cooperative, ubiquitous,
customisable, zero-installation, distributed and integrated (that
software packages, configuration files, boot scripts and the like are all
managaed in a purely functional way, that is, they are all built by
deterministic functions and they never change after they have been built.,
from http://nix.cs.uu.nl/nixos/index.html
One thing microsoft has being
71 matches
Mail list logo