Verba Volant

2002-02-21 Thread request

We have been requested to insert the following email address, "[EMAIL PROTECTED]", 
in the Verba Volant Newsletter database. Through this daily service you will receive a 
quotation, selected from amongst the most celebrated philosophers, writers and poets 
of all time and translated into many languages and dialects by volunteers worldwide.
If you would like to confirm your subscription to Verba Volant, please click on the 
following link: 
http://www.logos.net/owa-l/press.subscribe?lang=en&[EMAIL PROTECTED] 
If you do not wish to click on the link, your subscription will be cancelled.
Thank you for your time.
Verba Volant



Il nous a été demandé d'ajouter l'adresse électronique "[EMAIL PROTECTED]" dans la 
liste des destinataires de Verba Volant, un service qui tous les jours vous adressera 
une citation sélectionnée parmi les œuvres des meilleurs philosophes, écrivains, 
poètes de tous les temps et traduite en de très nombreuses langues grâce à des 
volontaires du monde entier.
Pour confirmer l'inscription à Verba Volant, veuillez vous connecter au lien suivant:
http://www.logos.net/owa-l/press.subscribe?lang=fr&[EMAIL PROTECTED] 
Si vous préférez ne pas cliquer sur le lien, vous ne recevrez rien.

Merci dans tous les cas de nous avoir accordé quelques secondes.
Verba Volant



Se nos ha solicitado insertar la dirección de correo electrónico "[EMAIL PROTECTED]" 
en el listado de envíos de Verba Volant, un servicio que diariamente le enviará citas 
elegidas entre los mejores filosofos, escritores, poetas, etc., traducidas a varios 
idiomas y dialectos. Dichas citas están traducidas por voluntarios que se conectan a 
nuestra web desde todo el mundo.
Si quiere confirmar la suscripción a Verba Volant, le rogamos entre en: 
http://www.logos.net/owa-l/press.subscribe?lang=es&[EMAIL PROTECTED] 
Si no entra en la dirección señalada no recibirá las citas.
Muchas gracias por el tiempo que nos ha dedicado.
Verba Volant



Ci è stato chiesto di inserire l'indirizzo di posta elettronica "[EMAIL PROTECTED]" 
nell’elenco dei destinatari di Verba Volant, un servizio che ogni giorno ti invierà 
una citazione scelta tra quelle dei migliori filosofi, scrittori, poeti di tutti i 
tempi e tradotta in moltissime lingue e dialetti grazie alla collaborazione di 
volontari da tutto il mondo.
Se desideri confermare l'iscrizione, ti preghiamo di collegarti al seguente link:
http://www.logos.net/owa-l/press.subscribe?lang=it&[EMAIL PROTECTED] 
Nel caso preferissi non cliccare sul link, non riceverai nulla. 

Grazie comunque per i secondi che ci hai dedicato.
Cordiali saluti.




___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell



Re: declaring a generic type in type synonyms

2002-02-21 Thread Pixel

"Andre W B Furtado" <[EMAIL PROTECTED]> writes:

> Is is possible to declare a generic type without using "data" or "newtype"?
> For example, I woud like that "pair" is a type synonym for "(t,t)" where t
> is a generic type, but just saying:
> 
> > type pair = (t,t)
> 
> won't work: i get a parse error.

- types in haskell must be capitalized (maybe a better syntax error message
would be nice, i ran into the same pb)

- "t" is a free variable, so you can't write this. Either write:

type Pair t = (t,t)
or
type Pair = (Int,Int)
or even
type Pair t1 t2 = (t1, t2)
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell



declaring a generic type in type synonyms

2002-02-21 Thread Andre W B Furtado

Is is possible to declare a generic type without using "data" or "newtype"?
For example, I woud like that "pair" is a type synonym for "(t,t)" where t
is a generic type, but just saying:

> type pair = (t,t)

won't work: i get a parse error.

Thanks,
-- Andre

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell



Re: Graphs

2002-02-21 Thread Eray Ozkural

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I used graphs in haskell, but I don't think you'll get anywhere the kind of
efficiency of a language like C++ where you have exact control over 
operations and structures

There is the graph code in "functional algorithms" book

Algorithms: a functional programming approach
   Fethi A. Rabhi, University of Hull, UK
   Guy Lapalme, Université de Montréal, Canada

The code is available online.

I recommend you to start with that one. Stay away from finite map stuff in 
edison if you can. (Although you can get it to implement graphs/hypergraphs 
after some amount of work)

If you're going to prototype an algorithm, you will eventually have to use 
monads which will be harder to write than the final C++/C implementation.

Why is that so? Because if you're writing the graph code in haskell, the 
really easier/better way is to use things like substitution, infinite graphs, 
etc. for an elegant and short code, in that it reflects the theoretical 
construction. But an algorithm designed for a serial machine is so much 
different. I've written graph algorithms from multilevel graph partitioning 
to graph clustering, so I think I know what I'm talking about :)

If you're using C++, you can prototype an algorithm fairly easily.

Here is how you can implement it.

use list< vector > to store adjacency lists.
use a vector< vector* > to index the adjacency lists.
use separate vectors to hold labels. I won't go into the reasons why those 
are the ones to start with, eventually your super-optimized code will be 
similar to the above.

Don't use a graph library. It will make your job harder! Avoid template 
libraries if you can (except stdlib...), and resist the temptation to 
templatize your code.

You will find that it's much more easier to write graph algorithms that way. 
And yes, although it would be in theory be a good idea to be able to 
prototype your algorithm in an easier-to-use language, such a language does 
not exist. Unless you can show me graph code side-by-side and prove it to me 
I will never believe it :)

For a start one would have to show me the implementation of non-trivial 
algorithms such as graph coarsening, all-to-all shortest paths, maximal 
cliques, etc. in the easier-than-C++ language contrasted with (good) C++ 
implementation.

I'm thinking maybe it would be more-possible in ocaml, but I'm a beginner in 
ocaml and I don't think I'm enough of a ocaml-hacker to talk about it.

Thanks,

On Thursday 21 February 2002 18:01, Wojciech Fraczak wrote:
> Hi everybody,
>
> I would like to ask you, if you do not know any graph library for
> haskell. I would like to use haskell for prototyping some of
> algorithms on graphs and finite state automata/transducers. In fact
> what I'm looking for is a good (efficient and easy readable) data type
> definition for labeled graphs.
>
> Thanks,

- -- 
Eray Ozkural (exa) <[EMAIL PROTECTED]>
Comp. Sci. Dept., Bilkent University, Ankara
www: http://www.cs.bilkent.edu.tr/~erayo
GPG public key fingerprint: 360C 852F 88B0 A745 F31B  EA0F 7C07 AE16 874D 539C
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8dSjSfAeuFodNU5wRAk8rAJ9CIwZUmEKHpttK2IwTXO0fnk8/egCeOV/A
y3yq4cDFx1mZQPC6SbK19JU=
=QoPG
-END PGP SIGNATURE-
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell



Graphs

2002-02-21 Thread Wojciech Fraczak


Hi everybody,

I would like to ask you, if you do not know any graph library for
haskell. I would like to use haskell for prototyping some of
algorithms on graphs and finite state automata/transducers. In fact
what I'm looking for is a good (efficient and easy readable) data type
definition for labeled graphs.

Thanks,

Wojtek

___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell



ICFP 2002: write now!

2002-02-21 Thread Simon Peyton-Jones

Don't miss your chance to submit a paper to ICFP02.
It'll be fun!Simon PJ


   ICFP 2002
  International Conference on Functional Programming
   October 4-6, 2002, Pittsburgh, USA

   Final call for papers



Submission deadline: 21 March 2002 18:00 UTC


Program Chair: Simon Peyton Jones (Microsoft Research)

Full call for papers including submission details: 
 http://icfp2002.cs.brown.edu/CfP/ 



ICFP 2002 seeks original papers on the full spectrum of the art,
science, and practice of functional programming. The conference
invites submissions on all topics ranging from principles to practice,
from foundations to features, and from abstraction to application. The
scope covers all languages that encourage programming with functions,
including both purely applicative and imperative languages, as well as
languages that support objects and concurrency. Topics of interest
include, but are not limited to, the following:

  Foundations: formal semantics, lambda calculus, type theory, monads,
  continuations, control, state, effects.

  Design: modules and type systems, concurrency and distribution,
  components and composition, relations to object-oriented and logic
  programming, multiparadigm programming.

  Implementation: abstract machines, compile-time and run-time
  optimization, just-in-time compilers, memory management,
  foreign-function and component interfaces.

  Transformation and analysis: abstract interpretation, partial
  evaluation, program transformation, theorem proving, specification
  and verification.

  Software development techniques for functional programming: design
  patterns, specification, verification and validation, debugging,
  test generation, etc.

  Human productivity of functional programming: visual, graphical
  (etc) approaches, evaluating language usability, empirical studies
  of human effectiveness, etc.

  Applications and domain-specific languages: scientific and numerical
  computing, symbolic computing and artificial intelligence, systems
  programming, databases, graphic user interfaces, multimedia
  programming, Web programming.

  Practice and experience: functional programming in education and
  industry, ramifications on other paradigms and computing
  disciplines.  Functional pearls elegant, instructive examples of
  functional programming.

General Chair: Mitchell Wand (Northeastern University)

Program Committee
  Matthias Blume (Lucent) 
  Margaret Burnett (Oregon State University) 
  Manuel Chakravarty (University of New South Wales) 
  Matthew Flatt (University of Utah) 
  Haruo Hosoya (Kyoto University) 
  Uwe Nestmann (EPFL, Lausanne) 
  Chris Okasaki (United States Military Academy) 
  Norman Ramsey (Harvard University) 
  David Sands (Chalmers University) 
  Olin Shivers (Georgia Tech) 
  Stephanie Weirich (Cornell) 
  Joe Wells (Heriot Watt University) 
___
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell