Re: [Haskell-cafe] What's the problem with iota's type signature?

2009-05-27 Thread Lionel Barret de Nazaris

On 28/05/2009 04:33, michael rice wrote:
Still exploring monads. I don't understand why the type signature for 
double is OK, but not the one for iota.


Michael

=

--double :: (Int a) => a -> Maybe b
--double x = Just (x + x)

iota :: (Int a) => a -> [b]
iota  n = [1..n]

--usage: [3,4,5] >>= iota
--should produce [1,2,3,1,2,3,4,1,2,3,4,5]



iota is executed within the monad and as such must respect its law ?




___
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] Haskell in 3 Slides

2009-05-21 Thread Lionel Barret de Nazaris

On 21/05/2009 09:40, Kalman Noel wrote:

Joe Fredette schrieb:
   

3-4 slides imply 3-4 topics, so the question is what are the 3-4 biggest
topics in haskell? I would think they would be:

* Purity/Referential Transparency
* Lazy Evaluation
* Strong Typing + Type Classes
* Monads
 


If the goal is to be able to talk about different examples of Haskell
code in the rest of the presentation, the big topic I'd choose would be
called »How function definitions look like in Haskell«.

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

My bet :
- type system without the type classes but with comparision with usual 
(c++) type systems.

- function definitions, with a hint at pattern matching
- lazyness. (see the searching a maybe list on the begineer list, it is 
a very good example).
- advanced topic : monads, type classes, etc -> just to say they are 
here and describe what they allow (state, exception), etc.


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


Re: [Haskell-cafe] Employment

2009-01-21 Thread Lionel Barret De Nazaris

That fits with our experience (gamr7).
We got 20 applicants, all of them very good.
L.

Paul Johnson wrote:

Tom Hawkins wrote:

 Such a database would help me counter by boss's
argument that "it's impossible to find and hire Haskell programmers."

  
There was a thread last week where someone asked who would be 
interested in a hypothetical Haskell job.  He got about 20 positive 
responses.  This agrees with the experience of Microsoft Research in 
2006 when they advertised for a third person to help with GHC 
development.   They also had about 20 applicants.


So next time I hear the "you can't get the programmers" line I'm going 
to respond with something like this:


   "If you post an advert for a Haskell developer you will get 20
   applicants.  All of those people will be the kind of developer who
   learns new programming languages to improve their own abilities and
   stretch themselves, because nobody yet learns Haskell just to get a 
job.


   "If you post an advert for a Java developer you will get 200
   applicants.  Most of them will be the kind of developer who learned
   Java because there are lots of Java jobs out there, and as long as
   they know enough to hold down a job then they see no reason to learn
   anything."

Paul.

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



--
Best Regards,
lionel Barret de Nazaris,
Gamr7 Founder & CTO
=
Gamr7 : Cities for Games
http://www.gamr7.com




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


Re: [Haskell-cafe] Re: Haskell project proposals reddit

2008-12-10 Thread Lionel Barret De Nazaris

Reddit is not moderated.

But there is a difference between the new links and the top links.

There you are :
http://www.reddit.com/r/haskell_proposals/comments/7ijor/a_library_or_embedded_language_for_interactive/

(upmodded)

Benjamin L.Russell wrote:

On Tue, 9 Dec 2008 20:34:20 -0800, Don Stewart <[EMAIL PROTECTED]>
wrote:

  

I'd like to echo Jason's remarks earlier.

   http://www.reddit.com/r/haskell_proposals/

We've tried for a couple of years now to efficiently track 'wanted
libraries' for the community, but never with much success.

In particular, two approaches have been tried:

   * a wiki page
   * the 200{6,7,8} summer of code trac

neither proved workable long term, likely because no one knew about
them, they're harder to contribute to and other factors.

Now I know there's a lot of spare Haskell capacity in this community.
3000 mailing list readers, but only 70 new libraries a week being
uploaded to Hackage --- that's not how we take over the world!

So this is your chance to contribute:

   * propose new libraries, and explain why you'd want them
   * vote on things you'd like to see
   * pick up tasks that sound interesting

Let's try to make this work!



After just registering and proposing "A library (or "embedded
language") for interactive animations with 2D and 3D graphics and
sound to replace Fran," thirteen minutes have passed, but my proposal
hasn't appeared yet.

Is your proposal list at http://www.reddit.com/r/haskell_proposals/
moderated?

-- Benjamin L. Russell


  

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


[Haskell-cafe] gmp license == no commercial/closed source haskell software ??

2008-12-03 Thread Lionel Barret De Nazaris
I've just discovered the GMP license problem. (see 
http://hackage.haskell.org/trac/ghc/wiki/ReplacingGMPNotes)


From my understanding, the gmp is GPL, GHC statically links it on windows.
As a consequence, any program compiled using GHC must be distributed 
under a GPL compatible license.


In the threads I've read, some workarounds are proposed on linux and 
OsX, but I didn't see anything on windows.


Is the situation still the same  ?
Does anybody know a work-around to make a closed-source programm in 
haskell without violating the GPL ?


( Note this could block Haskell in our company. )

--
Best Regards,
lionel Barret de Nazaris,
=
Gamr7 : Cities for Games
http://www.gamr7.com




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


Re: [Haskell-cafe] Haskell Reddit

2008-11-20 Thread Lionel Barret De Nazaris
AFAIK, there are two public on this haskell reddit : haskeller and 
curious about haskelle (evolving pythonneers ?).


So anything goes.

(Don : you post a lot. Is that part of your morning routine ?)

L.

Don Stewart wrote:

I'm not sure if the cafe@ knows this, but there's a bit of a Haskell
community (1200+ subscribers) built up around the Haskell subreddit on
reddit.com,

http://www.reddit.com/r/haskell/

A good source for news other than what appears on Planet Haskell.

-- Don

P.S. Feel free to submit things you like, so I don't have to :-)
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

  


--
Best Regards,
lionel Barret de Nazaris,
Gamr7 Founder & CTO
=
Gamr7 : Cities for Games
http://www.gamr7.com




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


Re: [Haskell-cafe] Python's big challenges, Haskell's big advantages?

2008-09-17 Thread Lionel Barret De Nazaris

Amen,
Those are the hard question that the python community needs to answer (I 
am not sure they want to answer, tho).

They are also part of the reasons we are switching to Haskell.

L.


Don Stewart wrote:

http://www.heise-online.co.uk/open/Shuttleworth-Python-needs-to-focus-on-future--/news/111534

"cloud computing, transactional memory and future multicore processors"

Get writing that multicore, STM, web app code!

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

  


--
Best Regards,
lionel Barret de Nazaris,
Gamr7 Founder & CTO
=
Gamr7 : Cities for Games
http://www.gamr7.com




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


Re: [Haskell-cafe] haskell job offer.

2008-09-09 Thread Lionel Barret De Nazaris

Thank you for the warm welcome.

About the use of Haskell, it will be for our (urban) rule-based 
generation engines (there is a recursive stack of them).

Think about a declarative geographic compiler and you're on the right track.

This engines are not in Haskell right now but it *should* be because for 
it we have reproduced many Haskell features (monads, lazy evaluation and 
so on).

Greenspun's Tenth Rule (for Haskell) is really at work there.

The first task on the job will be to port one of the engine. But this is 
only the tip of the iceberg...


The final goal is to generate in real time an infinite city with as much 
detail as the current top games.

And, obviously, to able to create that in an afternoon :).

So you see, there is many interesting things to do.

-- Lionel

--
Best Regards,
lionel Barret de Nazaris,
Gamr7 Founder & CTO
=
Gamr7 : Cities for Games
http://www.gamr7.com




Don Stewart wrote:

And for those who didn't see the original release announcement, check
out their website..

http://gamr7.com/

That's kind of awesome. Could you say more about what you're using
Haskell for, Lionel?

-- Don

dons:
  

Welcome to the community!

I've added details about Gamr7 to the industry page,

http://haskell.org/haskellwiki/Haskell_in_industry

-- Don

lionel:

We (Gamr7, see at the bottom) are looking from a senior dev/Technical 
director.
We don't really care about the title but we want someone good (who 
doesn't ?).
We need someone able to model *and* code well (No architect who never 
codes).

The ability to communicate well with a team is also a big plus.
You don't need to speak French (we are in France) but a reasonably good 
English is mandatory.


If You :
• like coding 4+ hours straight.
• like to solve a coding problem elegantly (and are bothered if can't)
• like and read *real* CS books (SICP, EGB, TAOCP, etc...)
• code in Haskell, python and c++.
• are a gamer (this one is optional)
• are interested in computer graphics (optional too)

You fit the bill. We would like to talk to you. Contact us (contact at 
gamr7 dot com).



What we offer:
• interesting problems and creative freedom
• quality of life (no overtime, sunny countryside, French food and low 
rent)

• a pay in Euros
• comfortable workplace, etc...
• coding in Haskell, python.

The boss *really * codes . He likes Haskell, Python, Reddit, and wants 
the team to be there for the long run (i.e happy).

He also modestly wrote and posted this jobs offer.

About :
Gamr7 is a startup focused on procedural city generation for the game 
and simulation market.

We are located in France, near Lyon.

--
Best Regards,
lionel Barret de Nazaris,
Gamr7 Founder & CTO
=
Gamr7 : Cities for Games
http://www.gamr7.com




___
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 mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] haskell job offer.

2008-09-08 Thread Lionel Barret De Nazaris


We (Gamr7, see at the bottom) are looking from a senior dev/Technical 
director.
We don't really care about the title but we want someone good (who 
doesn't ?).
We need someone able to model *and* code well (No architect who never 
codes).

The ability to communicate well with a team is also a big plus.
You don't need to speak French (we are in France) but a reasonably good 
English is mandatory.


If You :
• like coding 4+ hours straight.
• like to solve a coding problem elegantly (and are bothered if can't)
• like and read *real* CS books (SICP, EGB, TAOCP, etc...)
• code in Haskell, python and c++.
• are a gamer (this one is optional)
• are interested in computer graphics (optional too)

You fit the bill. We would like to talk to you. Contact us (contact at 
gamr7 dot com).



What we offer:
• interesting problems and creative freedom
• quality of life (no overtime, sunny countryside, French food and low rent)
• a pay in Euros
• comfortable workplace, etc...
• coding in Haskell, python.

The boss *really * codes . He likes Haskell, Python, Reddit, and wants 
the team to be there for the long run (i.e happy).

He also modestly wrote and posted this jobs offer.

About :
Gamr7 is a startup focused on procedural city generation for the game 
and simulation market.

We are located in France, near Lyon.

--
Best Regards,
lionel Barret de Nazaris,
Gamr7 Founder & CTO
=
Gamr7 : Cities for Games
http://www.gamr7.com




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