[Haskell-cafe] CFP: APLAS 2011, Kenting, Taiwan

2011-05-06 Thread Shin-Cheng Mu
Lezama (MIT, USA) Sam Staton (U. Cambridge, UK) Viktor Vafeiadis (MPI-SWS, Germany) Kapil Vaswani (MSR, India) Martin Vechev (IBM, USA) Peng Wu (IBM, USA) Hongseok Yang (Queen Mary U. London, UK) Pen-Chung Yew (Academia Sinica, Taiwan) ORGANIZERS: Mike Dodds, U. Cambridge (Poster chair) Shin-Cheng Mu,

[Haskell-cafe] 2nd CFP: ACM SIGPLAN 7th Workshop on Generic Programming (WGP 2011)

2011-05-05 Thread Shin-Cheng Mu
-oriented generic programming, * and so on. Organizers -- Co-Chair Jaakko Järvi, Texas A&M University, USA Co-Chair Shin-Cheng Mu, Academia Sinica, Taiwan Programme Committee --- Dave Abrahams, BoostPro Computing, USA Magne Haveraaen, Universitetet i Bergen, No

[Haskell-cafe] CFP: APLAS 2011, Kenting, Taiwan

2011-04-11 Thread Shin-Cheng Mu
Lezama (MIT, USA) Sam Staton (U. Cambridge, UK) Viktor Vafeiadis (MPI-SWS, Germany) Kapil Vaswani (MSR, India) Martin Vechev (IBM, USA) Peng Wu (IBM, USA) Hongseok Yang (Queen Mary U. London, UK) Pen-Chung Yew (Academia Sinica, Taiwan) ORGANIZERS: Mike Dodds, U. Cambridge (Poster chair) Shin-Cheng Mu,

[Haskell-cafe] WGP 2011: Call for Papers

2011-02-18 Thread Shin-Cheng Mu
polymorphism, * object-oriented generic programming, * and so on. Organizers -- Co-Chair Jaakko Järvi, Texas A&M University, USA Co-Chair Shin-Cheng Mu, Academia Sinica, Taiwan Programme Committee --- Dave Abrahams, BoostPro Computing, USA Magne Haver

[Haskell-cafe] Bidirectional programming in Haskell

2009-05-26 Thread Shin-Cheng Mu
Hi, On Tue May 26 01:21:28 EDT 2009, Artyom Shalkhakov wrote: > Are there any libraries for "bidirectional" [1] programming > in Haskell? Any related work? Some of the early work in the PSD project (closely related to the "lenses") were developed in Haskell, http://www.iis.sinica.edu.tw/~scm/

[Haskell-cafe] No VerboseCheck in QuickCheck 2?

2009-05-25 Thread Shin-Cheng Mu
Hi, I believe this must have been raised before but I did some searching to no avail, so please allow me.. It seems that verboseCheck is gone in QuickCheck 2. In QuickCheck 2, how do we print the test cases, specify the number of tests, or the sizes of test cases, etc.? Thank you very much.. s

[Haskell-cafe] MPC 2008: SECOND CALL FOR PAPERS

2007-12-22 Thread Shin-Cheng Mu
‰t Augsburg, Germany Carroll Morgan University of New South Wales, Australia Shin-Cheng Mu Academia Sinica, Taiwan Jose Nuno Oliveira Universidade do Minho, Portugal Tim Sheard Portland State University, USA Tarmo Uustalu Institute of Cybernetics Tallin,

[Haskell-cafe] APLAS07 - Call for Participation

2007-09-02 Thread Shin-Cheng Mu
of New York at Stony Brook, USA) Shin-Cheng Mu(Academia Sinica, Taiwan) Henrik Nilsson (University of Nottingham, UK) Michael Norrish (NICTA, Australia) Jens Palsberg(University of California, Los Angeles, USA) G. Ramalingam(Microsoft Research, India)

[Haskell-cafe] Re: creating graphics the functional way

2007-08-06 Thread Shin-Cheng Mu
On 05/08/07, Frank Buss <[EMAIL PROTECTED]> wrote: Is it possible to write functions with an arbitrary number of arguments? Would be nice if the average function would accept any number of pixel values. You may be interested to see Oleg Kiselyov's discussion on polyvariadic functions in Haske

[Haskell-cafe] Re: Developing Programs and Proofs Spontaneously using GADT

2007-08-05 Thread Shin-Cheng Mu
Thanks for the comments. I will take a look at the type family extension. The definition of plusFn proposed by Jim Apple worked nicely. The solution from apfelmus works after fixing a small typo: newtype Equal a b = Proof (forall f . f a -> f b ) newtype Succ f a = InSucc { outSucc :: f (S a)

[Haskell-cafe] Developing Programs and Proofs Spontaneously using GADT

2007-08-04 Thread Shin-Cheng Mu
I am curious about the possibility of developing Haskell programs spontaneously with proofs about their properties and have the type checker verify the proofs for us, in a way one would do in a dependently typed language. In the exercise below, I tried to redo part of the merge-sort example in Al

Re: [Haskell-cafe] Space leak when returning pairs?

2006-05-19 Thread Shin-Cheng Mu
f (ts, strm') -> case idXsp strm' of (us, strm'') -> (ts, us, strm'') in (StartEvent a [] : ts ++ EndEvent a : us, strm'') And I cannot quite explain why (Anyone?). Is there a more structured solution? Ca

Re: [Haskell-cafe] Space leak when returning pairs?

2006-05-19 Thread Shin-Cheng Mu
Dear Henning, On May 19, 2006, at 6:16 PM, Henning Thielemann wrote: On Fri, 19 May 2006, Shin-Cheng Mu wrote: idX :: [XMLEvent] -> ([XMLEvent], [XMLEvent]) idX (StartEvent a : strm) = let (ts, strm') = idX strm (us, strm'') = idX strm' i

[Haskell-cafe] Space leak when returning pairs?

2006-05-19 Thread Shin-Cheng Mu
ciate if someone could look into it. The actual program is available at http://www.psdlab.org/~scm/hx.tar.gz It actually uses HXML, a library by Joe (Joe English?) to do the parsing. The main program is hxpc.hs. There is a 1 MB sized sample input file size1m.xml. There are two simple scripts &