[Haskell] ANN: RESTng 0.1 + RedHandlers 0.1 (request handlers) + YuiGrids 0.1 (yahoo grids)

2009-05-15 Thread Sergio Urinovsky
I'd like to announce the release of 3 new packages in hackage developed for
a RESTful web framework called RESTng.

They are experimental, the framework is incomplete and we are currently not
actively developing it.
There are several interesting features so we have decided to release them to
share the ideas.


*RESTng:* A framework for writing RESTful applications. Features that may be
of interest are:

 * Resource presentation with annotations (implemented with Grids):
Resources are annotated with related data and all ends in boxes using grids.
i.e., an annotation for a book resource could be its author (the author
resource), and also their comments, so the book, the author and their
comments are shown in boxes. Annotations can have arbitrary data, but there
are some generic ones already available.

 * Hierarchical URLs are automatically handled. i.e.: Can easily define that
a book resource "has many" chapters, then these actions are defined:
  GET http://site/book/3/chapter/1(get the chapter 1 of book
with id 3)
  GET http://site/book/3/chapter/new  (get a form for filling data
for the new chapter for book with id 3)
  POST http://site/book/3/chapter/new (create a new chapter for the
book with id 3)
  and so on for updates, list and delete actions

 * ORM generates tables from haskell records (currently only PostgreSQL is
supported in the ORM).

 * Associations "has many" defined for models. Making available functions to
query for the parent and children so you don't have to make the SQL query.

 * Associations can be polymorphic so a comment can be associated to
different resources types. A record for a comment on a book, another for a
comment on a post.

 * Tags, Ratings, Comments, Users and login and CMS-like form fields
validations supported.



*YuiGrids:*
  * Containers and boxes with layout hints are specified. i.e:
 - Box A: in left side bar, near the bottom, with this content 
 - Container B: in the main part of the page, near the top, with 3
columns and these let's say 14 boxes inside ... (including Box C)
 - Box C: in the left column of three, with this other content ...

  * Tries to satisfy the layout hints. Not allways possible, i.e: if every
box has layout hint to go near the bottom, some of them will go at the top.

  * Boxes can have CSS specifications.

  * All is rendered into Yahoo grids (http://developer.yahoo.com/yui/grids).


  Currently, the YuiGrids uses own contextual html combinators are also
implemented in this package (called CxML here) instead of Text.XHtml for
keeping track of html parts like inline CSSs to be rendered at the head.
This can be improved to use the standard Text.XHtml library.



*RedHandlers:* It is another HTTP request handlers library to build
standalone web apps.
 * They deal with request data as usual.
 * There are also combinators for mapping part of the URL to public folders
in the file system.
 * And one for sending files efficiently in the response (a fork of the HTTP
library was necessary for this, included here).
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


[Haskell] TFM09: Last CFP (Formal Methods Week, Eindhoven, November 6th 2009)

2009-05-15 Thread J.N. Oliveira


TFM2009
 2nd Int. FME Conference on Teaching Formal Methods
"Widening Access to Formal Methods"

   Friday, November 6th 2009, co-located with
 FM2009 : 16th International Symposium on Formal Methods
Eindhoven, the Netherlands, November 2 - November 6, 2009

   CALL FOR PAPERS

(URL: http://www.di.uminho.pt/tfm09)


1. About the conference
---
Ten years after the First World Formal Methods Congress (FM'99) in  
Toulouse,
formal methods communities from all over the world will once again  
have an
opportunity to come together.  As part of the First Formal Methods  
Week event
surrounding the FM2009 conference in Eindhoven, Formal Methods Europe  
will
be organizing TFM2009, the Second International Conference on  
Teaching Formal

Methods.

The conference will serve as a forum to explore the successes and  
failures

of Formal Methods (FM) education, and to promote cooperative projects to
further education and training in FMs. We would like to provide a  
forum for
lecturers, teachers, and industrial partners to discuss their  
experience,

present their pedagogical methodologies, and explore best practices.

TFM2009 follows in a series of recent events on teaching formal methods,
including: two BCS-FACS TFM workshops (Oxford in 2003, and London in  
2006),

the TFM 2004 conference in Ghent (with proceedings published as Springer
LNCS Volume 3294), the FM-Ed 2006 workshop (Hamilton, co-located with  
FM'06),

FORMED (Budapest, at ETAPS 2008), FMET 2008 (Kitakyushu 2008, co-located
with ICFEM), etc.

2. Topics of interest
-
Formal methods (FM) have an important role to play in the development of
complex computing systems - a role acknowledged in industrial  
standards such
as IEC 61508 and ISO/IEC 15408, and in the increasing use of precise  
modeling

notations, semantic markup languages, and model-driven techniques. There
is a growing need for software engineers who can work effectively  
with simple,
mathematical abstractions, and with practical notions of inference  
and proof.
However, there is little clear guidance ? for educators, for  
managers, or
for the engineers themselves ? as to what might comprise a basic  
education
in FM. Neither the present IEEE/ACM Software Engineering Body of  
Knowledge
(SWEBOK) nor the forthcoming Graduate Software Engineering Reference  
Curriculum
(GSWERC) provide the kind of specific information that teachers and  
practitioners

need to establish an adequate, balanced programme of learning in FM.

Original contributions are solicited that provide insight, opinions, and
suggestions for courses of action regarding the teaching FMs,  
including but

not limited to the following aspects:

* experiences of teaching FMs, both successful and unsuccessful;
* educational resources including the use of books, case studies  
and the internet;

* the education of weak and mathphobic students;
* the integration, or otherwise, of FMs into the curriculum,  
including
  contributions to the definition of a Formal Methods Body of  
Knowledge (FMBOK);

* the advantages of FM-trained graduates in the workplace;
* changing attitudes towards FMs in students, academic staff and  
practitioners;

* the necessary mathematical background.

The conference proceedings will be published by Springer-Verlag in  
the LNCS series.

Submissions may be up to 20 pages long using Springer's LNCS format.

3. Important dates
--
Please put the following dates in your diary:

Submission deadline May 25, 2009
Notification of acceptance  July 6, 2009
Final version   August 3, 2009

4. How to submit

Papers for TFM2009 will be processed through the EasyChair conference  
management system.To submit your paper, please visit:


  http://www.easychair.org/conferences/?conf=tfm2009

5. Invited speakers
---
To be announced

6. Programme Committee
--
Izzat Alsmadi   (North Dakota State University, USA)
Dines Bjorner   (IIMM Institute, Denmark)
Eerke Boiten(University of Kent, UK)
Raymond Boute   (Universiteit Gent, Belgium)
Andrew Butterfield  (Trinity College, Dublin)
Jim Davies  (University of Oxford, UK)
David Duce  (Oxford Brookes University, UK)
John Fitzgerald (University of Newcastle upon Tyne, UK)
Jeremy Gibbons  (University of Oxford, UK)
Randolph Johnson(National Security Agency, USA)
Michael Mac an Airchinnigh  (Trinity College, Dublin)
Dino Mandrioli  (Politecnico di Milano, Italy)
Jose Oliveira   (Universidade do Minho, Portugal)
Kees Pronk  (Technische Universiteit Delft, NL)
Bernhard Schaetz(Tecnical University of Munique, Germany)
Wolfgang Schreiner  (Johannes Kepler University Linz, Austria)
Simao Melo de Sousa (Universidade d

[Haskell] ICFP09 Accepted Papers

2009-05-15 Thread Matthew Fluet (ICFP Publicity Chair)
   Accepted Papers
ICFP 2009: International Conference on Functional Programming
  Edinburgh, Scotland, 31 August - 2 September 2009
  http://www.cs.nott.ac.uk/~gmh/icfp09.html

The ICFP 2009 Program Chair and Committee are pleased to announce that
the following papers have been accepted for the conference.

Additional information regarding the final program, invited speakers,
and registration will be forthcoming.  However, the Local Arrangements
Co-Chairs would like to remind participants of the following:

 * ICFP'09 coincides with the final week of the Edinburgh
   International Festival, one of the premier arts and cultural
   festivals in the world.  The opportunity to attend the Festival is
   a plus!  Due to the popularity of Edinburgh during the festival
   period, we recommend booking accommodation early.

More details regarding accommodation may be obtained from
the ICFP 2009 Local Arrangements webpage:
 http://www.haskell.org/haskellwiki/ICFP_2009_Local_Arrangements


   Accepted papers
   ~~~

A CONCURRENT ML LIBRARY IN CONCURRENT HASKELL
   Avik Chaudhuri

A THEORY OF TYPED COERCIONS AND ITS APPLICATIONS
   Nikhil Swamy, Michael Hicks and Gavin Bierman

A UNIVERSE OF BINDING AND COMPUTATION
   Daniel Licata and Robert Harper

ATTRIBUTE GRAMMARS FLY FIRST-CLASS: HOW TO DO ASPECT ORIENTED
PROGRAMMING IN HASKELL
   Marcos Viera, S. Doaitse Swierstra and Wouter S. Swierstra

AUTOMATICALLY RESTFUL WEB APPLICATIONS OR, MARKING MODULAR
SERIALIZABLE CONTINUATIONS
   Jay McCarthy

BEAUTIFUL DIFFERENTIATION
   Conal Elliott

BIORTHOGONALITY, STEP-INDEXING AND COMPILER CORRECTNESS
   Nick Benton and Chung-Kil Hur

CAUSAL COMMUTATIVE ARROWS AND THEIR OPTIMIZATION
   Hai Liu, Eric Cheng and Paul Hudak

COMPLETE AND DECIDABLE TYPE INFERENCE FOR GADTS
   Tom Schrijvers, Simon Peyton Jones, Martin Sulzmann and
   Dimitrios Vytiniotis

CONTROL-FLOW ANALYSIS OF FUNCTION CALLS AND RETURNS BY ABSTRACT
INTERPRETATION
   Jan Midtgaard and Thomas P. Jensen

EDUCATIONAL PEARL: FUN FOR FRESHMEN KIDS
   Matthias Felleisen, Robert Bruce Findler, Matthew Flatt and
   Shriram Krishnamurthi

EFFECTIVE INTERACTIVE PROOFS FOR HIGHER-ORDER IMPERATIVE PROGRAMS
   Adam Chlipala, Gregory Malecha, Greg Morrisett, Avraham Shinnar and
   Ryan Wisnesky

EXPERIENCE REPORT: EMBEDDED, PARALLEL COMPUTER-VISION WITH A
FUNCTIONAL DSL
   Ryan Newton and Teresa Ko

EXPERIENCE REPORT: HASKELL IN THE REALWORLD
   Curt Sampson

EXPERIENCE REPORT: OCAML FOR AN INDUSTRIAL-STRENGTH STATIC ANALYSIS
FRAMEWORK
   Pascal Cuoq and Julien Signoles

EXPERIENCE REPORT: OCSIGEN, A WEB PROGRAMMING FRAMEWORK
   Vincent Balat, Jérôme Vouillon and Boris Yakobowski

EXPERIENCE REPORT: SEL4 -- FORMALLY VERIFYING A HIGH-PERFORMANCE
MICROKERNEL
   Gerwin Klein, Philip Derrin and Kevin Elphinstone

FINDING RACE CONDITIONS IN ERLANG WITH QUICKCHECK AND PULSE
   Koen Claessen, Michal Palka, Nicholas Smallbone, John Hughes,
   Hans Svensson, Thomas Arts and Ulf Wiger

FREE THEOREMS INVOLVING TYPE CONSTRUCTOR CLASSES
   Janis Voigtlaender

GENERIC PROGRAMMING WITH FIXED POINTS FOR MUTUALLY RECURSIVE DATATYPES
   Alexey Rodriguez, Stefan Holdermans, Andres Löh and Johan Jeuring

IDENTIFYING QUERY INCOMPATIBILITIES WITH EVOLVING XML SCHEMAS
   Pierre Geneves, Nabil Layaida and Vincent Quint

IMPLEMENTING FIRST-CLASS POLYMORPHIC DELIMITED CONTINUATIONS BY A
TYPE-DIRECTED SELECTIVE CPS-TRANSFORM
   Tiark Rompf, Ingo Maier and Martin Odersky

LA TOUR D'HANOï
   Ralf Hinze

NON-PARAMETRIC PARAMETRICITY
   Georg Neis, Derek Dreyer and Andreas Rossberg

OXENSTORED: AN EFFICIENT HIERARCHICAL AND TRANSACTIONAL DATABASE USING
FUNCTIONAL PROGRAMMING WITH REFERENCE CELL COMPARISONS
   Thomas Gazagnaire and Vincent Hanquez

PARALLEL CONCURRENT ML
   John Reppy, Claudio Russo and Yingqi Xiao

PARTIAL MEMOIZATION OF CONCURRENCY AND COMMUNICATION
   Suresh Jagannathan, KC Sivaramakrishnan and Lukasz Ziarek

PURELY FUNCTIONAL LAZY NON-DETERMINISTIC PROGRAMMING
   Sebastian Fischer, Oleg Kiselyov and Chung-chieh Shan

RUNTIME SUPPORT FOR MULTICORE HASKELL
   Simon Marlow, Simon Peyton Jones and Satnam Singh

SAFE FUNCTIONAL REACTIVE PROGRAMMING THROUGH DEPENDENT TYPES
   Neil Sculthorpe and Henrik Nilsson

SCRIBBLE: CLOSING THE BOOK ON AD HOC DOCUMENTATION TOOLS
   Matthew Flatt, Eli Barzilay and Robert Bruce Findler

USING OBJECTIVE CAML TO DEVELOP SAFETY-CRITICAL EMBEDDED TOOL IN A
CERTIFICATION FRAMEWORK
   Bruno Pagano, Olivier Andrieu, Thomas Moniot, Benjamin Canou,
   Emmanuel Chailloux, Philippe Wang, Pascal Manoury and
   Jean-Louis Colaco
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] Re: ANNOUNCE: GHC version 6.10.3

2009-05-15 Thread Benjamin L . Russell
On Fri, 15 May 2009 09:16:13 +0100, Simon Marlow 
wrote:

>On 15/05/2009 05:52, Benjamin L.Russell wrote:
>> What happened to the Windows installation section in the corresponding
>> User's Guide?  The User's Guide for GHC version 6.10.2 (see
>> http://www.haskell.org/ghc/docs/6.10.2/html/users_guide/index.html)
>> had section 2.2: Installing on Windows (see
>> http://www.haskell.org/ghc/docs/6.10.2/html/users_guide/install-windows.html#winfaq),
>> but this section seems to be missing in the corresponding document for
>> version 6.10.3 (see
>> http://www.haskell.org/ghc/docs/latest/html/users_guide/index.html).
>> Not only that, but the entire chapter "2: Installing GHC" seems to be
>> missing.
>
>The "Installing GHC" section was mostly out-of-date and wrong, so I 
>removed it.  Some of the material, such as the section on the layout of 
>the tree, has been updated and moved to the GHC Building Guide, here
>
>http://hackage.haskell.org/trac/ghc/wiki/Building
>
>We also have lots of information on the GHC web site about obtaining and 
>installing GHC, so if we need anything else I think that would be the 
>best place to put it.

Ah, I see.

I just checked out that section, but although it includes information
about building GHC, it doesn't seem to include information about
simply installing GHC using a binary.  This could become an issue if a
new user unfamiliar with the installation suddenly decides to upgrade;
it is unclear without that documentation whether it is necessary to
uninstall the previous version first.

More specifically, section "2.2.2 Moving GHC Around" indicates that
the entire GHC tree can be freely moved around "just by copying the
c:/ghc/ghc-version directory" (although it is necessary "to fix up the
links in 'Start/All Programs/GHC/ghc-version'" if this is done);
however, this information is not evident from the information provided
by the Windows installer.  This information initially led me to
conclude that uninstalling the previous version wasn't necessary to
upgrade; without this information, a new user may not be able to
determine whether uninstalling a previous version is necessary to
upgrade, and could make upgrading more confusing.

-- Benjamin L. Russell
-- 
Benjamin L. Russell  /   DekuDekuplex at Yahoo dot com
http://dekudekuplex.wordpress.com/
Translator/Interpreter / Mobile:  +011 81 80-3603-6725
"Furuike ya, kawazu tobikomu mizu no oto." 
-- Matsuo Basho^ 

___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell


Re: [Haskell] Re: ANNOUNCE: GHC version 6.10.3

2009-05-15 Thread Simon Marlow

On 15/05/2009 05:52, Benjamin L.Russell wrote:

What happened to the Windows installation section in the corresponding
User's Guide?  The User's Guide for GHC version 6.10.2 (see
http://www.haskell.org/ghc/docs/6.10.2/html/users_guide/index.html)
had section 2.2: Installing on Windows (see
http://www.haskell.org/ghc/docs/6.10.2/html/users_guide/install-windows.html#winfaq),
but this section seems to be missing in the corresponding document for
version 6.10.3 (see
http://www.haskell.org/ghc/docs/latest/html/users_guide/index.html).
Not only that, but the entire chapter "2: Installing GHC" seems to be
missing.


The "Installing GHC" section was mostly out-of-date and wrong, so I 
removed it.  Some of the material, such as the section on the layout of 
the tree, has been updated and moved to the GHC Building Guide, here


http://hackage.haskell.org/trac/ghc/wiki/Building

We also have lots of information on the GHC web site about obtaining and 
installing GHC, so if we need anything else I think that would be the 
best place to put it.


Cheers,
Simon
___
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell