Re: [Haskell-cafe] ANNOUNCE: io-streams 1.0.0.0

2013-03-06 Thread Alfredo Di Napoli
As I've already said on Reddit,

awesome job guys. From the little I've seen the API is very lean and easy,
so I'm really looking forward to playing with it and helping you with it as
well :)

Bye,
Alfredo
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] ANNOUNCE: http-streams 0.3.1.0

2013-03-06 Thread Andrew Cowie
Hey,

I'd like to announce the initial release of http-streams, an HTTP client
library using the Snap Framework's io-streams library to handle the
streaming I/O.

I blogged about it the background and API design here:
http://blogs.operationaldynamics.com/andrew/software/haskell/http-streams-introduction

The SHA256 sum of http-streams-0.3.1.0.tar.gz as uploaded is:
e0671f8eac83e9a4b092bdd7b03e69b80ac0417818b8dbc51d8604b769179bd3

Comments and feedback welcome.

Cheers,

AfC
Sydney



signature.asc
Description: This is a digitally signed message part
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Country names and language names

2013-03-06 Thread Obscaenvs
Hi! I am working on an app in Yesod that craves I18N. A problem I've
come across there is giving correct country and language names based on
currently selected language. So far, I've used the Yesod I18N message
approach, but a lot of hand coding is involved.

The iso3166-country-codes [1] package at Hackage by Jon Fairbairn
provides a start in the right direction, but an obvious improvement upon
it would be to have a function or map that takes an ISO 639 code and an
ISO 3166 code and gives the correct human-readable name for the country
as per the chosen target language (the ISO 639 code), and another
function/map for languages. It would alleviate coding those pesky
country and language switchers a *lot*, among other things.

Jon Fairbarn that coded the iso3166-country-codes package said in
private correspondence that it seemed worthwhile doing, but he couldn't
do it in his spare time, which is understandable. I am willing to do
some of the stuff involved (I know Swedish, French and some Turkish in
addition to the ubiquitous English), but obviously it's too big a
project for one man to handle (what with all the c'n'p involved :) ).

I feel that this should be done, since it seems it isn't yet. I am
inexperienced in coordinating such endeavours, though, so I would like
to share that task at least to begin with, if possible.

Any thoughts?

[1] http://hackage.haskell.org/package/iso3166-country-codes-0.2011.4

/Fredrik


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


[Haskell-cafe] ANNOUNCE: Start Ajhc project with forking jhc.

2013-03-06 Thread Kiwamu Okabe
Hi all.

I am a user of jhc Haskell compiler.
Jhc can compile Haskell code to micro arch such as Cortex-M3.
I have written LED blinking demo for Cortex-M3 with jhc.
Very fun!

  https://github.com/ajhc/demo-cortex-m3
  http://www.youtube.com/watch?v=3R9sogReVHg

And I created many patches for jhc.
But...I think that the upstream author of jhc, John Meacham,
can't pull the contribution speedy, because he is too busy.
It's difficult that maintain many patches without any repositories,
for me.

Then, I have decided to fork jhc, named Ajhc.
# pain full...

  http://ajhc.github.com/

I will feedback Ajhc's big changes to jhc mailing list.
Or I am so happy if John joins Ajhc project.

Regards,
-- 
Kiwamu Okabe

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


Re: [Haskell-cafe] Country names and language names

2013-03-06 Thread Henk-Jan van Tuyl

On Wed, 06 Mar 2013 12:38:11 +0100, Obscaenvs obscae...@gmail.com wrote:

:
:

The iso3166-country-codes [1] package at Hackage by Jon Fairbairn
provides a start in the right direction, but an obvious improvement upon
it would be to have a function or map that takes an ISO 639 code and an
ISO 3166 code and gives the correct human-readable name for the country
as per the chosen target language (the ISO 639 code), and another
function/map for languages. It would alleviate coding those pesky
country and language switchers a *lot*, among other things.

Jon Fairbarn that coded the iso3166-country-codes package said in
private correspondence that it seemed worthwhile doing, but he couldn't
do it in his spare time, which is understandable. I am willing to do
some of the stuff involved (I know Swedish, French and some Turkish in
addition to the ubiquitous English), but obviously it's too big a
project for one man to handle (what with all the c'n'p involved :) ).

I feel that this should be done, since it seems it isn't yet. I am
inexperienced in coordinating such endeavours, though, so I would like
to share that task at least to begin with, if possible.

Any thoughts?


You can find the Dutch names in the Dutch Wikipedia:
  http://nl.wikipedia.org/wiki/Lijst_van_ISO_639-1-codes
  http://nl.wikipedia.org/wiki/ISO_3166-1

Do not forget that country names can change; e.g. the Netherlands Antilles  
were split up in 2010. This might cause problems if you store country  
codes in a database. If you simply remove obsolete country codes, the  
database can not be used properly any more.


Regards,
Henk-Jan van Tuyl


--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--

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


[Haskell-cafe] Commercial Users of Functional Programming: Call for tutorials

2013-03-06 Thread Simon Thompson

Commercial Users of Functional Programming

Call for tutorials

Commercial Users of Functional Programming (CUFP) is an annual meeting 
co-located with the International Conference on Functional Programming which 
this year will take place in Boston, MA, USA on 22-24 September 2013. CUFP aims 
to bridge the gap between academia and users applying functional programming in 
practice. CUFP provides high-quality practical tutorials covering
state-of-the-art techniques and tools for functional programming. 

We are seeking proposals for half-day tutorials to be presented during the 
first two days of the meeting, 22 and 23 September, with the main CUFP session 
on 24 September. 

Among the suggested topics for tutorials are:

 - Introductions to functional programming languages: in the past we have had 
introductions to Clojure, Erlang, F#, Haskell, ML, OCaml, Scala, Scheme and 
others.

 - Applying functional programming in particular areas, including the web, 
high-performance computing, finance.

- Tools and techniques supporting state of the art functional programming.

Tutorial proposals should address the following points

 - Title
 - Abstract (about 100 words)
 - Goals: by the end of this tutorial you will be able to … 
 - Intended audience: e.g. beginners, those with a working knowledge of X, …
 - Infrastructure required: For example, 
 - will participants need access to a particular system? 
 - can they be expected to have this on a laptop, or does it need to be 
provided by the meeting?

and should be sent by email to 
 
 - Francesco Cesarini: france...@erlang-solutions.com
 - Simon Thompson: s.j.thomp...@kent.ac.uk

by 31 March 2013.
Simon Thompson | Professor of Logic and Computation 
School of Computing | University of Kent | Canterbury, CT2 7NF, UK
s.j.thomp...@kent.ac.uk | M +44 7986 085754 | W www.cs.kent.ac.uk/~sjt



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


Re: [Haskell-cafe] ANNOUNCE: Start Ajhc project with forking jhc.

2013-03-06 Thread Renzo Carbonara
On Wed, Mar 6, 2013 at 9:51 AM, Kiwamu Okabe kiw...@debian.or.jp wrote:
 Jhc can compile Haskell code to micro arch such as Cortex-M3.
 I have written LED blinking demo for Cortex-M3 with jhc.

This is exciting! I wasn't aware that Jhc targeted such devices.


 Then, I have decided to fork jhc, named Ajhc.

Good luck with Ajhc! I really look forward to trying it. I'll give you
my feedback once I do.



Regards,

Renzo.

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


Re: [Haskell-cafe] ANNOUNCE: Start Ajhc project with forking jhc.

2013-03-06 Thread Don Stewart
Very cool!
On Mar 6, 2013 12:53 PM, Kiwamu Okabe kiw...@debian.or.jp wrote:

 Hi all.

 I am a user of jhc Haskell compiler.
 Jhc can compile Haskell code to micro arch such as Cortex-M3.
 I have written LED blinking demo for Cortex-M3 with jhc.
 Very fun!

   https://github.com/ajhc/demo-cortex-m3
   http://www.youtube.com/watch?v=3R9sogReVHg

 And I created many patches for jhc.
 But...I think that the upstream author of jhc, John Meacham,
 can't pull the contribution speedy, because he is too busy.
 It's difficult that maintain many patches without any repositories,
 for me.

 Then, I have decided to fork jhc, named Ajhc.
 # pain full...

   http://ajhc.github.com/

 I will feedback Ajhc's big changes to jhc mailing list.
 Or I am so happy if John joins Ajhc project.

 Regards,
 --
 Kiwamu Okabe

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

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


Re: [Haskell-cafe] Country names and language names

2013-03-06 Thread Obscaenvs
Thanks for the input -- both items.
f

Le 2013-03-06 14:20, Henk-Jan van Tuyl a écrit :
 On Wed, 06 Mar 2013 12:38:11 +0100, Obscaenvs obscae...@gmail.com wrote:
 
 :
 :
 The iso3166-country-codes [1] package at Hackage by Jon Fairbairn
 provides a start in the right direction, but an obvious improvement upon
 it would be to have a function or map that takes an ISO 639 code and an
 ISO 3166 code and gives the correct human-readable name for the country
 as per the chosen target language (the ISO 639 code), and another
 function/map for languages. It would alleviate coding those pesky
 country and language switchers a *lot*, among other things.

 Jon Fairbarn that coded the iso3166-country-codes package said in
 private correspondence that it seemed worthwhile doing, but he couldn't
 do it in his spare time, which is understandable. I am willing to do
 some of the stuff involved (I know Swedish, French and some Turkish in
 addition to the ubiquitous English), but obviously it's too big a
 project for one man to handle (what with all the c'n'p involved :) ).

 I feel that this should be done, since it seems it isn't yet. I am
 inexperienced in coordinating such endeavours, though, so I would like
 to share that task at least to begin with, if possible.

 Any thoughts?
 
 You can find the Dutch names in the Dutch Wikipedia:
   http://nl.wikipedia.org/wiki/Lijst_van_ISO_639-1-codes
   http://nl.wikipedia.org/wiki/ISO_3166-1
 
 Do not forget that country names can change; e.g. the Netherlands
 Antilles were split up in 2010. This might cause problems if you store
 country codes in a database. If you simply remove obsolete country
 codes, the database can not be used properly any more.
 
 Regards,
 Henk-Jan van Tuyl
 
 

-- 
haskellBlog: http://www.monoid.se/categories/haskell/

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


Re: [Haskell-cafe] Country names and language names

2013-03-06 Thread Henk-Jan van Tuyl

On Wed, 06 Mar 2013 20:53:57 +0100, Obscaenvs obscae...@gmail.com wrote:


Thanks for the input -- both items.
f



Do not forget that country names can change; e.g. the Netherlands
Antilles were split up in 2010. This might cause problems if you store
country codes in a database. If you simply remove obsolete country
codes, the database can not be used properly any more.


P.S. If you want people to be able to enter there country of birth, you  
should include all countries that existed in the past 116 years; if  
historians should be able to use it, you should include all countries that  
ever existed.


When you include obsolete names, there should be some way to create a list  
of current countries, e.g. for selection of the country, where someone  
lives, from a menu. Something like this:

  map isCurrentlyExisting listOfAllCountriesThatEverExisted
Or you create a list of current countries and a list of obsolete countries.

Regards,
Henk-Jan van Tuyl


--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--

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


Re: [Haskell-cafe] ANNOUNCE: Start Ajhc project with forking jhc.

2013-03-06 Thread John Meacham
What is the cortex m3 board you are experimenting with? looks like it
could be a Maple Mini https://www.sparkfun.com/products/11280 ?

if so, getting it in 20k of ram is quite impressive :) I only tested
against larger ARM processors such as tablets/cell phones.

John

On Wed, Mar 6, 2013 at 4:51 AM, Kiwamu Okabe kiw...@debian.or.jp wrote:
 Hi all.

 I am a user of jhc Haskell compiler.
 Jhc can compile Haskell code to micro arch such as Cortex-M3.
 I have written LED blinking demo for Cortex-M3 with jhc.
 Very fun!

   https://github.com/ajhc/demo-cortex-m3
   http://www.youtube.com/watch?v=3R9sogReVHg

 And I created many patches for jhc.
 But...I think that the upstream author of jhc, John Meacham,
 can't pull the contribution speedy, because he is too busy.
 It's difficult that maintain many patches without any repositories,
 for me.

 Then, I have decided to fork jhc, named Ajhc.
 # pain full...

   http://ajhc.github.com/

 I will feedback Ajhc's big changes to jhc mailing list.
 Or I am so happy if John joins Ajhc project.

 Regards,
 --
 Kiwamu Okabe

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

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


[Haskell-cafe] GSOC application level

2013-03-06 Thread Mateusz Kowalczyk
Greetings,

It seems that the Haskell community consistently participates in the
Google Summer of Code project. I (and probably many others) am
interested in taking part in one of such projects but I have a question
in regards to the expertise. I know that this year's projects aren't up
yet but by looking at the past results, the expertise required seems to
vary pretty widely.

Can someone that has been around for a bit longer comment on what level
of experience with Haskell and underlying concepts is usually expected
from candidates? Are applications discarded simply based on the
applicant not having much previous experience in the target area? What
is the level of the competition for places on the projects?

It's not my first week of meddling with Haskell (and studying the ideas
behind it) but I can't say that I would be able to confidently take on
any project that might be put out. I do however realise that the project
is open to students so I don't imagine the requirements specify
something like couple of years with type theory research either.

Any insight about the topic is appreciated. I'd much rather flip bits
than do labour this summer and if it can be done using the language I'm
interested in, even better!
-- 
Mateusz K.

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


[Haskell-cafe] Haskell Weekly News: Issue 261

2013-03-06 Thread Daniel Santa Cruz
Welcome to issue 261 of the HWN, an issue covering crowd-sourced bits
of information about Haskell from around the web. This issue covers the
week of February 24 to March 02, 2013.

Quotes of the Week

   * EvilMachine: I always picture some poor mutant guy whose every body
 part looks alike in the deepest depths of the dark ages going to
 the doc, and being told he has ‚monomorphism‚.

   * pmk: the last time i asked GHC to compile a function with forty
 (.)'s in a row, it took over an hour

Top Reddit Stories

   * Some draft chapters of Parallel and Concurrent Programming in
Haskell
 available online for comment
 Domain: self.haskell, Score: 79, Comments: 40
 On Reddit: [1] http://goo.gl/emvnI
 Original: [2] http://goo.gl/emvnI

   * Hulk: A Haskell IRC server - Nice example of real world monad without
IO
 Domain: chrisdone.com, Score: 62, Comments: 18
 On Reddit: [3] http://goo.gl/CR986
 Original: [4] http://goo.gl/RhjG6

   * Hole-driven Haskell
 Domain: matthew.brecknell.net, Score: 59, Comments: 52
 On Reddit: [5] http://goo.gl/5ctnJ
 Original: [6] http://goo.gl/NqJVi

   * Chasing a Space Leak in Shake: Profiling, reduction, digging thru
stacks
 Domain: neilmitchell.blogspot.com, Score: 46, Comments: 11
 On Reddit: [7] http://goo.gl/cO86j
 Original: [8] http://goo.gl/v09x6

   * Haskell patterns ad nauseam
 Domain: yaxu.org, Score: 39, Comments: 2
 On Reddit: [9] http://goo.gl/dapAz
 Original: [10] http://goo.gl/hPW6y

   * Cross Compiling for iOS with GHC
 Domain: hackage.haskell.org, Score: 35, Comments: 18
 On Reddit: [11] http://goo.gl/3uzjR
 Original: [12] http://goo.gl/Kw0Pe

   * From Set Theory to Type Theory
 Domain: golem.ph.utexas.edu, Score: 35, Comments: 8
 On Reddit: [13] http://goo.gl/HaPN4
 Original: [14] http://goo.gl/LUi5f

   * EclipseFP 2.5.0 released: cabal-dev support, import cleaning, and more
 Domain: jpmoresmau.blogspot.fr, Score: 31, Comments: 0
 On Reddit: [15] http://goo.gl/lR6Tc
 Original: [16] http://goo.gl/JJzBz

   * Michael Snoyman's overview of the new conduit 1.0, on School of Haskell
 Domain: haskell.fpcomplete.com, Score: 31, Comments: 11
 On Reddit: [17] http://goo.gl/aFbw1
 Original: [18] http://goo.gl/ObEHA

   * How is Haskell tackling the multicore problem? - Simon Marlow
 Domain: youtube.com, Score: 28, Comments: 5
 On Reddit: [19] http://goo.gl/qOKlJ
 Original: [20] http://goo.gl/HVddu

   * Generics and Protocol Buffers... now on Hackage
 Domain: breaks.for.alienz.org, Score: 28, Comments: 5
 On Reddit: [21] http://goo.gl/WqIyn
 Original: [22] http://goo.gl/J9NKB

   * Demonstrating tidal - haskell music patterns in action
 Domain: blog.lurk.org, Score: 24, Comments: 5
 On Reddit: [23] http://goo.gl/4ddqI
 Original: [24] http://goo.gl/Ift8y

   * GHC iOS Packages
 Domain: github.com, Score: 23, Comments: 5
 On Reddit: [25] http://goo.gl/PONjI
 Original: [26] http://goo.gl/6D3Gz

   * SoH tutorial: a regular expression matcher using continuations
 Domain: haskell.fpcomplete.com, Score: 22, Comments: 4
 On Reddit: [27] http://goo.gl/toQpy
 Original: [28] http://goo.gl/BZ1xI

   * [nyc-haskell] Greg Wright - A Purely Symbolic Effort in Mathematics
 Domain: vimeo.com, Score: 22, Comments: 6
 On Reddit: [29] http://goo.gl/jNybI
 Original: [30] http://goo.gl/Q8pq8

   * ANN: clckwrks 0.16 Haskell blog/CMS platform released. Includes a
 screencast demonstrating clckwrks features.
 Domain: clckwrks.com, Score: 20, Comments: 2
 On Reddit: [31] http://goo.gl/Tp92p
 Original: [32] http://goo.gl/zV7Sj

Top StackOverflow Questions

   * Do Hask or Agda have equalisers?
 votes: 23, answers: 2
 Read on SO: [33] http://goo.gl/k74C9

   * Prove idempotency of type-level disjunction
 votes: 17, answers: 2
 Read on SO: [34] http://goo.gl/wsFUL

   * Internal representation of Haskell lists?
 votes: 16, answers: 2
 Read on SO: [35] http://goo.gl/TCGDk

   * GHC Generating Redundant Core Operations
 votes: 15, answers: 1
 Read on SO: [36] http://goo.gl/d9zWP

   * eliminating repetition in cabal files
 votes: 14, answers: 0
 Read on SO: [37] http://goo.gl/2StJ9

   * Translate from monad to applicative
 votes: 12, answers: 3
 Read on SO: [38] http://goo.gl/IbSUi

   * Memoizing multiplication
 votes: 10, answers: 2
 Read on SO: [39] http://goo.gl/EXvUk

   * Most efficient way to seek around in a large file
 votes: 9, answers: 1
 Read on SO: [40] http://goo.gl/C9FGp

   * Does Haskell optimizer utilize memoization for repeated function
 calls in a scope?
 votes: 9, answers: 3
 Read on SO: [41] http://goo.gl/3qDPQ

   * Existential type in higher order function
 votes: 9, answers: 1
 Read on SO: [42] http://goo.gl/YfalJ

   * Haskell `ncurses` library
 votes: 9, answers: 2
 

Re: [Haskell-cafe] GSOC application level

2013-03-06 Thread Johan Tibell
Hi Mateusz,

On Wed, Mar 6, 2013 at 4:58 PM, Mateusz Kowalczyk
fuuze...@fuuzetsu.co.ukwrote:

 Can someone that has been around for a bit longer comment on what level
 of experience with Haskell and underlying concepts is usually expected
 from candidates? Are applications discarded simply based on the
 applicant not having much previous experience in the target area? What
 is the level of the competition for places on the projects?


We don't have a fix bar for things you need to known when you apply.
Rather we try to guess whether the student can accomplish the project
he/she is applying for, based on whatever evidence we have e.g.
contribution to other projects, released libraries on Hackage, and other
forms of community participation. Since we typically have more proposals
than slots we will rank students both based on how impactful we think the
project will be and how likely we think it is that the student will
proceed. Both these qualities map onto a single number that we use to stack
rank proposals.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] ANNOUNCE: Start Ajhc project with forking jhc.

2013-03-06 Thread Kiwamu Okabe
Hi John.

On Thu, Mar 7, 2013 at 7:35 AM, John Meacham j...@repetae.net wrote:
 What is the cortex m3 board you are experimenting with? looks like it
 could be a Maple Mini https://www.sparkfun.com/products/11280 ?

Now I am testing STM32 F3 Discovery.

http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF254044

 if so, getting it in 20k of ram is quite impressive :) I only tested
 against larger ARM processors such as tablets/cell phones.

It's your great product jhc's power. ;)

But that demo does not use Haskell heap.
# Don't call s_alloc function.
Now I am trying fix bug on my custom jhc RTS.

Thank's,
--
Kiwamu Okabe

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


Re: [Haskell-cafe] GSOC application level

2013-03-06 Thread Chris Smith
Mateusz Kowalczyk fuuze...@fuuzetsu.co.uk wrote:

 I know that this year's projects aren't up
 yet

Just to clarify, there isn't an official list of projects for you to choose
from.  The project that you purpose is entirely up to you.  There is a list
of recommendations at
http://hackage.haskell.org/trac/summer-of-code/report/1 and another list of
ideas at http://reddit.com/r/haskell_proposals -- but keep in mind that you
ultimately make your own choice about what you propose, and it doesn't have
to be selected from those lists.  You can start writing your perusal today
if you like.

Having an unusually good idea is a great way to get selected even if you
don't have an established body of work to point to.  Just keep in mind that
proposals are evaluated not just on the benefit if they are completed, but
also on their likelihood of success... a good idea is both helpful and
realistic.  They are also evaluated on their benefit to the actual Haskell
community... so of that's not something you have a good fell for, I'd
suggest getting involved.  Follow reddit.com/r/haskell, read this mailing
list, read Haskell blogs from planet.haskell.org, and get familiar with
what Haskellers are concerned about and interested in.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Announce: Leksah 0.13.2.0 (still a bit experimental)

2013-03-06 Thread Hamish Mackenzie
I am not able to reproduce this on my Ubuntu 12.10 VM.

What version of GHC are you using?
Do you have anything in your ~/.ghci file?
What command are you running?
Does putStrLn Hello World work?
What is the active .cabal project?

The GHCi interface is sensitive to changes in the way GHCi formats it output, 
so it is a bit fragile.   Some things that will currently break it are...
 * Anything that tries to read input on stdin
 * :set prompt (Leksah uses the prompt to detect when the output finishes)

I added some tests a while back to try to catch issues running GHCi.  Can you 
please try this...

cd leksah/vendor/leksah-server
cabal install --enable-tests --force-reinstall

You should see this near the end...

Running 1 test suites...
Test suite test-tool: RUNNING...
Test suite test-tool: PASS
Test suite logged to: dist/test/leksah-server-0.13.0.0-test-tool.log
1 of 1 test suites (1 of 1 test cases) passed.

Thanks,
Hamish

On 7 Mar 2013, at 08:48, Alejandro Toribio Bello Ruiz 
alejandro.bell...@gmail.com wrote:

 Leksah 0.13.2 compiled successfully on Ubuntu 12.10 following the new 
 instructions on .travis.yml, but arise the old problem where the GHCi 
 integration break when the first command set is from the debug scratch pane. 
 This bug was fixed on Leksah 0.12.1.3. What happened? This issue is very 
 import for my students. Would be very grateful if you fix this bug.
 
 Regards
 
 El viernes, 1 de marzo de 2013 23:04:59 UTC-5, Hamish escribió:
 12.10 uses webkit 1.10 so the -fwebkit1.8 was probably tripping it up.
 
 I have updated webkit so that webkit 1.8 is detected automatically and
 updated the .travis.yml file.
 
 Please try again.
 
 On 23 Feb 2013, at 06:20, alejandr...@gmail.com wrote:
 
 I compiled Leksah 0.13.2 using Ubuntu 12.04 (I followed the instructions on 
 .travis.yml). It was OK, but when I tried to compile with Ubuntu 12.10, I 
 got the following error:
 
   Building webkit-0.12.5...
   Preprocessing library webkit-0.12.5...
   gtk2hsC2hs: Errors during expansion of binding hooks:
 
   webkit1.8/Graphics/UI/Gtk/WebKit/DOM/File.chs:17: (column 14) [ERROR] 
  Unknown identifier!
 Cannot find a definition for `webkit_dom_file_get_file_name' in the 
 header file.
   webkit1.8/Graphics/UI/Gtk/WebKit/DOM/File.chs:23: (column 16) [ERROR] 
  Unknown identifier!
 Cannot find a definition for `webkit_dom_file_get_file_size' in the 
 header file.
 
  Can you help me, please?
 
 Alejandro T. Bello Ruiz
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 leksah group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to leksah+un...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 leksah group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to leksah+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.
  
  

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


Re: [Haskell-cafe] Country names and language names

2013-03-06 Thread Henk-Jan van Tuyl
On Wed, 06 Mar 2013 23:26:01 +0100, Henk-Jan van Tuyl hjgt...@chello.nl  
wrote:



someone lives, from a menu. Something like this:
   map isCurrentlyExisting listOfAllCountriesThatEverExisted


That should be
   filter isCurrentlyExisting listOfAllCountriesThatEverExisted
of course.

Regards,
Henk-Jan van Tuyl


--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--

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