This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: What books would you like to see written on Scala?

52 replies
Java Artisan
Joined: 2010-07-20,
User offline. Last seen 2 years 15 weeks ago.
Collections please ! :-)
Regular & Parallel. Usage, performance, default recipes, etc...

On Mon, Jul 18, 2011 at 17:27, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi


Yuvi Masory
Joined: 2010-12-22,
User offline. Last seen 1 year 27 weeks ago.
What books would you like to see written on Scala?
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on.For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi

Luc Duponcheel
Joined: 2008-12-19,
User offline. Last seen 34 weeks 3 days ago.
Re: What books would you like to see written on Scala?
"How to gradually introduce Scala in your Java Enterprise projects."

Luc

On Mon, Jul 18, 2011 at 5:27 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
   __~O
  -\ <,
(*)/ (*)

reality goes far beyond imagination

debasish
Joined: 2011-06-19,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
Effective Scala .. with the same level of depth and insight as Josh Bloch's Effective Java ..

On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg
Durgesh Mankekar
Joined: 2010-12-14,
User offline. Last seen 1 year 25 weeks ago.
Re: What books would you like to see written on Scala?
1. Functional programming in Scala 2. Scala Type system
I know both are being covered in individual chapters in Scala in Depth by Josh. But some folks might like a more detailed treatise.
-Durgesh
On Jul 18, 2011, at 11:36 AM, Luc Duponcheel wrote:
"How to gradually introduce Scala in your Java Enterprise projects."

Luc

On Mon, Jul 18, 2011 at 5:27 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
   __~O
  -\ <,
(*)/ (*)

reality goes far beyond imagination


Eric Hubbard
Joined: 2009-01-28,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
Ditto
-Eric
http://www.google.com/profiles/eric.hubbard


On Mon, Jul 18, 2011 at 8:36 AM, Luc Duponcheel <luc [dot] duponcheel [at] gmail [dot] com> wrote:
"How to gradually introduce Scala in your Java Enterprise projects."

Luc

On Mon, Jul 18, 2011 at 5:27 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
   __~O
  -\ <,
(*)/ (*)

reality goes far beyond imagination


Artie Pesh-Imam
Joined: 2011-07-18,
User offline. Last seen 1 day 4 hours ago.
Re: What books would you like to see written on Scala?
+1 on both  of these.
On Jul 18, 2011, at 11:55 AM, Durgesh Mankekar wrote:
1. Functional programming in Scala 2. Scala Type system
I know both are being covered in individual chapters in Scala in Depth by Josh. But some folks might like a more detailed treatise.
-Durgesh
On Jul 18, 2011, at 11:36 AM, Luc Duponcheel wrote:
"How to gradually introduce Scala in your Java Enterprise projects."

Luc

On Mon, Jul 18, 2011 at 5:27 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
   __~O
  -\ <,
(*)/ (*)

reality goes far beyond imagination



Matthew Pocock 3
Joined: 2010-07-30,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?


On 18 July 2011 16:49, Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com> wrote:
Effective Scala .. with the same level of depth and insight as Josh Bloch's Effective Java ..
+1 


On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg



--
Dr Matthew PocockVisitor, School of Computing Science, Newcastle Universitymailto: turingatemyhamster [at] gmail [dot] com gchat: turingatemyhamster [at] gmail [dot] commsn: matthew_pocock [at] yahoo [dot] co [dot] uk irc.freenode.net: drdozertel: (0191) 2566550mob: +447535664143
Carl-Eric Menzel
Joined: 2009-04-25,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?

> I'd personally love a full book on Akka.

+1 on an Akka book, as well as Debasish's idea for "Effective Scala".

Carl-Eric

Thomas Lockney
Joined: 2009-10-08,
User offline. Last seen 1 year 31 weeks ago.
Re: What books would you like to see written on Scala?
I would love to see books covering the following topics (could be a complete book on each or some part of a larger work on something more broad):
* Akka (perhaps extending more broadly into distributed systems dev with Scala)* Functional programming (preferably covering general FP concepts applied to Scala, the theoretic underpinnings and, perhaps, some coverage of Scalaz)* As mentioned by Debasish, Effective Scala would be an great companion to the two Scala books currently in development at Manning
~thomas
Walter Chang
Joined: 2008-08-21,
User offline. Last seen 3 years 26 weeks ago.
Re: What books would you like to see written on Scala?
+1

On Mon, Jul 18, 2011 at 11:49 PM, Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com> wrote:
Effective Scala .. with the same level of depth and insight as Josh Bloch's Effective Java ..

On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg



--
.......__o
.......\<,
....( )/ ( )...
Ken McDonald
Joined: 2011-02-13,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
1) Lift Cookbook.2) +1 on Scala typing. Something that would start from the basics and go as far as the reader cared to. (Not sure how big of an audience there would be for this, though.)
Ken
MARC-DANIEL ORTEGA
Joined: 2011-07-18,
User offline. Last seen 34 weeks 6 days ago.
Re : What books would you like to see written on Scala?

There are interesting books at manning like Debasish Ghosh Dsl in action, the Joshua Suereth  MEAP Scala in depth. I 'd really like a book about the philosophy of writing with actors from Carl Hewitt thougths to Scala/Akka implementations, through Erlang applications, with real world examples. To embrace Actor paradigm I have bought an Erlang book. Nice move, but some Scala/Akka stuff would be really welcome.

Durgesh Mankekar
Joined: 2010-12-14,
User offline. Last seen 1 year 25 weeks ago.
Re: What books would you like to see written on Scala?

If someone from O'Reilly is reading this, then a newer edition (for 2.9) of Programming Scala (by Dean Wampler / Alex Payne) would be great too, specially for newcomers.

On Jul 18, 2011, at 11:27 AM, Yuvi Masory wrote:

Hi everyone,

I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on.
For example, would a Scala cookbook-style book be good? One on Akka? Etc.
Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.

I'd personally love a full book on Akka.

Yuvi

mansoor.ashraf
Joined: 2011-07-18,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?

I would like to a see a book on Scalaz Covering type classes,
Applicative functors, Monads and other FP topics. Also an Effective
Scala book would be great as well

On Jul 18, 2:49 pm, Durgesh Mankekar wrote:
> If someone from O'Reilly is reading this, then a newer edition (for 2.9) of Programming Scala (by Dean Wampler / Alex Payne) would be great too, specially for newcomers.
>
> On Jul 18, 2011, at 11:27 AM, Yuvi Masory wrote:
>
> Hi everyone,
>
> I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on.
> For example, would a Scala cookbook-style book be good? One on Akka? Etc.
> Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
>
> I'd personally love a full book on Akka.
>
> Yuvi

Dean Wampler
Joined: 2008-12-26,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
Yea, I want to do that. I'm finishing another O'Reilly book now (Functional Programming for Java Developers) that comes out next week at OSCON. I'll talk to my editor about updating Programming Scala. I've already started working on updating the code examples.
dean

On Mon, Jul 18, 2011 at 2:49 PM, Durgesh Mankekar <durgesh [at] gmail [dot] com> wrote:
If someone from O'Reilly is reading this, then a newer edition (for 2.9) of Programming Scala (by Dean Wampler / Alex Payne) would be great too, specially for newcomers.

On Jul 18, 2011, at 11:27 AM, Yuvi Masory wrote:

Hi everyone,

I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on.
For example, would a Scala cookbook-style book be good? One on Akka? Etc.
Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.

I'd personally love a full book on Akka.

Yuvi





--
Dean Wampler
co-producer, Development Languages, Practices, and Techniques stage at Agile2011
"Programming Scala" (O'Reilly)  http://programmingscala.com
twitter: @deanwampler, @chicagoscala
http://polyglotprogramming.com

Tony Morris 2
Joined: 2009-03-20,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/07/11 01:55, Durgesh Mankekar wrote:
> 1. Functional programming in Scala
Hang in there guys.

Xuefeng Wu
Joined: 2009-09-11,
User offline. Last seen 42 years 45 weeks ago.
回复:What books would you like to see written on Scala?
I need Effective Scala such as Effective Java.And I also need a Scala Lite? for  Software Engineer without mush programming experience and math knowledge.The number of beginner is large and the learn cure of scala FP is high.I think need a book or something  could fill the gap.
The most of developer is developing application but not framework, and without much math knowledge.The book may should cute some scala feature and promote some code standard.
Xuefeng Wu
Joined: 2009-09-11,
User offline. Last seen 42 years 45 weeks ago.
回复:What books would you like to see written on Scala?
In a short, I need a book for beginner who don't have programming experience and math knowledge.They would do work follow some example/standard/other engineer guide.
They would not design and develop framework, and may never read scala-user mail list.
y
Joined: 2011-07-18,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?

Dear Manning,

I am a massive customer of yours and I want books on

scalaz
akka
reactive programming
DGP in Scala

and

a new book by Debasish on any Scala related topic he chooses.

y

debasish
Joined: 2011-06-19,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
also couldn't resist this .. Learn you a Functional Scala for Great good :)

On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg
Renghen Renghen
Joined: 2010-09-06,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?


On Tue, Jul 19, 2011 at 2:02 PM, Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com> wrote:
also couldn't resist this .. Learn you a Functional Scala for Great good :)

On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg

Markus Jais
Joined: 2011-06-14,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
Yeah, that would be great. I like the Haskell book in that series. Great stuff.
Markus
Von: Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com>
An: Yuvi Masory <ymasory [at] gmail [dot] com>
Cc: scala-user [at] googlegroups [dot] com
Gesendet: 12:02 Dienstag, 19.Juli 2011
Betreff: Re: [scala-user] What books would you like to see written on Scala?

also couldn't resist this .. Learn you a Functional Scala for Great good :)

On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com" target="_blank" href="mailto:ymasory [at] gmail [dot] com" rel="nofollow">ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg


Renghen Renghen
Joined: 2010-09-06,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
here is my wishlist,

1) more functional oriented scala
2) more on generics including manifest and the new specialise annotation.
3) more on implicits for 2.8
3) monads,monads,monads (theory and practice); from identity monad to comprehension monad
4) delimited continuation, theory and practice. enough to start programming using continuation
5) compiler plugin, why should one write one and how.
6) how to use the above to write dsl
7) parallel collections made simple - when n where to use parallel and how, best practices.

Also a book that will assume that the reader is already use to some scala idioms, and do not need introduction to stuff like class, pattern matching,
closures etc....

On Tue, Jul 19, 2011 at 3:36 PM, Markus Jais <markus [dot] jais [at] yahoo [dot] de> wrote:
Yeah, that would be great. I like the Haskell book in that series. Great stuff.
Markus
Von: Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com>
An: Yuvi Masory <ymasory [at] gmail [dot] com>
Cc: scala-user [at] googlegroups [dot] com
Gesendet: 12:02 Dienstag, 19.Juli 2011
Betreff: Re: [scala-user] What books would you like to see written on Scala?

also couldn't resist this .. Learn you a Functional Scala for Great good :)

On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
Hi everyone,
I've exchanged a few emails with Manning. They are interested to know what subjects the community is interested in having Scala books written on. For example, would a Scala cookbook-style book be good? One on Akka? Etc. Please add your suggestions. Since this is being discussed publicly all publishers will benefit equally from your answers.
I'd personally love a full book on Akka.

Yuvi




--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg



Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: What books would you like to see written on Scala?

Just wanted to state two things:

(1) Scala In Depth was initially titled Effective Scala.  You'll see a lot of this flavor in the book.   However, it became apparent that education in the type system and FP on Category theory (as seen in haskell) was needed.  Hence the move to Scala In Depth.  Hopefully you should find a bit of what you need there, or I've failed in my mission.
(2) Scala best practices are probably going to change (just slighty) over the course of the next year or two.  I'd say we can put together a good book, but something akin to Effective Java might be a year or two away....

On Jul 19, 2011 7:45 AM, "Renghen Renghen" <renghen [at] gmail [dot] com> wrote:
> here is my wishlist,
>
> 1) more functional oriented scala
> 2) more on generics including manifest and the new specialise annotation.
> 3) more on implicits for 2.8
> 3) monads,monads,monads (theory and practice); from identity monad to
> comprehension monad
> 4) delimited continuation, theory and practice. enough to start programming
> using continuation
> 5) compiler plugin, why should one write one and how.
> 6) how to use the above to write dsl
> 7) parallel collections made simple - when n where to use parallel and how,
> best practices.
>
> Also a book that will assume that the reader is already use to some scala
> idioms, and do not need introduction to stuff like class, pattern matching,
> closures etc....
>
> On Tue, Jul 19, 2011 at 3:36 PM, Markus Jais <markus [dot] jais [at] yahoo [dot] de> wrote:
>
>> Yeah, that would be great. I like the Haskell book in that series. Great
>> stuff.
>>
>> Markus
>>
>> ------------------------------
>> *Von:* Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com>
>> *An:* Yuvi Masory <ymasory [at] gmail [dot] com>
>> *Cc:* scala-user [at] googlegroups [dot] com
>> *Gesendet:* 12:02 Dienstag, 19.Juli 2011
>> *Betreff:* Re: [scala-user] What books would you like to see written on
>> Scala?
>>
>> also couldn't resist this .. Learn you a Functional Scala for Great good :)
>>
>> On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
>>
>> Hi everyone,
>>
>> I've exchanged a few emails with Manning. They are interested to know what
>> subjects the community is interested in having Scala books written on.
>> For example, would a Scala cookbook-style book be good? One on Akka? Etc.
>> Please add your suggestions. Since this is being discussed publicly all
>> publishers will benefit equally from your answers.
>>
>> I'd personally love a full book on Akka.
>>
>> Yuvi
>>
>>
>>
>>
>> --
>> Debasish Ghosh
>> http://manning.com/ghosh
>>
>> Twttr: @debasishg
>> Blog: http://debasishg.blogspot.com
>> Code: http://github.com/debasishg
>>
>>
>>
Matthew Pocock 3
Joined: 2010-07-30,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?


On 19 July 2011 13:06, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:


(2) Scala best practices are probably going to change (just slighty) over the course of the next year or two.  I'd say we can put together a good book, but something akin to Effective Java might be a year or two away....

Effective Java is a really good book. However, it benefited from Java being a mature programming language with a body of practical experience backing it, and from an author who had intimate knowledge of Java. It also is unashamedly the author's personal views. I'd agree with Josh that we are probably a little time away from having this depth of experience with Scala, although it is a book I'd buy tomorrow if it was available.
Matthew 
On Jul 19, 2011 7:45 AM, "Renghen Renghen" <renghen [at] gmail [dot] com> wrote:
> here is my wishlist,
>
> 1) more functional oriented scala
> 2) more on generics including manifest and the new specialise annotation.
> 3) more on implicits for 2.8
> 3) monads,monads,monads (theory and practice); from identity monad to
> comprehension monad
> 4) delimited continuation, theory and practice. enough to start programming
> using continuation
> 5) compiler plugin, why should one write one and how.
> 6) how to use the above to write dsl
> 7) parallel collections made simple - when n where to use parallel and how,
> best practices.
>
> Also a book that will assume that the reader is already use to some scala
> idioms, and do not need introduction to stuff like class, pattern matching,
> closures etc....
>
> On Tue, Jul 19, 2011 at 3:36 PM, Markus Jais <markus [dot] jais [at] yahoo [dot] de> wrote:
>
>> Yeah, that would be great. I like the Haskell book in that series. Great
>> stuff.
>>
>> Markus
>>
>> ------------------------------
>> *Von:* Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com>
>> *An:* Yuvi Masory <ymasory [at] gmail [dot] com>
>> *Cc:* scala-user [at] googlegroups [dot] com
>> *Gesendet:* 12:02 Dienstag, 19.Juli 2011
>> *Betreff:* Re: [scala-user] What books would you like to see written on
>> Scala?
>>
>> also couldn't resist this .. Learn you a Functional Scala for Great good :)
>>
>> On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
>>
>> Hi everyone,
>>
>> I've exchanged a few emails with Manning. They are interested to know what
>> subjects the community is interested in having Scala books written on.
>> For example, would a Scala cookbook-style book be good? One on Akka? Etc.
>> Please add your suggestions. Since this is being discussed publicly all
>> publishers will benefit equally from your answers.
>>
>> I'd personally love a full book on Akka.
>>
>> Yuvi
>>
>>
>>
>>
>> --
>> Debasish Ghosh
>> http://manning.com/ghosh
>>
>> Twttr: @debasishg
>> Blog: http://debasishg.blogspot.com
>> Code: http://github.com/debasishg
>>
>>
>>



--
Dr Matthew PocockVisitor, School of Computing Science, Newcastle Universitymailto: turingatemyhamster [at] gmail [dot] com gchat: turingatemyhamster [at] gmail [dot] commsn: matthew_pocock [at] yahoo [dot] co [dot] uk irc.freenode.net: drdozertel: (0191) 2566550mob: +447535664143
debasish
Joined: 2011-06-19,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
I agree Scala idioms may change somewhat over the next couple of years. We can have multiple editions of Effective Scala (just like Effective Java) reflecting the changes. Lots of people are using Scala today. And they need this guidance today. The earlier we have such a book, better will be the code base that gets accumulated for tomorrow. And anyway if we start writing such a book today, it will take (almost) a year to complete.
Just my 2 cents ..

On Tue, Jul 19, 2011 at 6:15 PM, Matthew Pocock <turingatemyhamster [at] gmail [dot] com> wrote:


On 19 July 2011 13:06, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:


(2) Scala best practices are probably going to change (just slighty) over the course of the next year or two.  I'd say we can put together a good book, but something akin to Effective Java might be a year or two away....

Effective Java is a really good book. However, it benefited from Java being a mature programming language with a body of practical experience backing it, and from an author who had intimate knowledge of Java. It also is unashamedly the author's personal views. I'd agree with Josh that we are probably a little time away from having this depth of experience with Scala, although it is a book I'd buy tomorrow if it was available.
Matthew 
On Jul 19, 2011 7:45 AM, "Renghen Renghen" <renghen [at] gmail [dot] com> wrote:
> here is my wishlist,
>
> 1) more functional oriented scala
> 2) more on generics including manifest and the new specialise annotation.
> 3) more on implicits for 2.8
> 3) monads,monads,monads (theory and practice); from identity monad to
> comprehension monad
> 4) delimited continuation, theory and practice. enough to start programming
> using continuation
> 5) compiler plugin, why should one write one and how.
> 6) how to use the above to write dsl
> 7) parallel collections made simple - when n where to use parallel and how,
> best practices.
>
> Also a book that will assume that the reader is already use to some scala
> idioms, and do not need introduction to stuff like class, pattern matching,
> closures etc....
>
> On Tue, Jul 19, 2011 at 3:36 PM, Markus Jais <markus [dot] jais [at] yahoo [dot] de> wrote:
>
>> Yeah, that would be great. I like the Haskell book in that series. Great
>> stuff.
>>
>> Markus
>>
>> ------------------------------
>> *Von:* Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com>
>> *An:* Yuvi Masory <ymasory [at] gmail [dot] com>
>> *Cc:* scala-user [at] googlegroups [dot] com
>> *Gesendet:* 12:02 Dienstag, 19.Juli 2011
>> *Betreff:* Re: [scala-user] What books would you like to see written on
>> Scala?
>>
>> also couldn't resist this .. Learn you a Functional Scala for Great good :)
>>
>> On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
>>
>> Hi everyone,
>>
>> I've exchanged a few emails with Manning. They are interested to know what
>> subjects the community is interested in having Scala books written on.
>> For example, would a Scala cookbook-style book be good? One on Akka? Etc.
>> Please add your suggestions. Since this is being discussed publicly all
>> publishers will benefit equally from your answers.
>>
>> I'd personally love a full book on Akka.
>>
>> Yuvi
>>
>>
>>
>>
>> --
>> Debasish Ghosh
>> http://manning.com/ghosh
>>
>> Twttr: @debasishg
>> Blog: http://debasishg.blogspot.com
>> Code: http://github.com/debasishg
>>
>>
>>



--
Dr Matthew PocockVisitor, School of Computing Science, Newcastle Universitymailto: turingatemyhamster [at] gmail [dot] com gchat: turingatemyhamster [at] gmail [dot] commsn: matthew_pocock [at] yahoo [dot] co [dot] uk irc.freenode.net: drdozertel: (0191) 2566550mob: +447535664143



--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg
Peter 2
Joined: 2011-02-16,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?

To become a widely used programming language, Scala needs to
effectively replace parts of the Java Enterprise world. Any book or
whitepaper on this topic suitable for it managers and software
architects would pave the way for this process. I would also expect
typesafe.com to provide such material.

Luc + 1

Peter

Java Artisan
Joined: 2010-07-20,
User offline. Last seen 2 years 15 weeks ago.
Re: Re: What books would you like to see written on Scala?
It would be very interesting indeed to see a comparison between Java EE and its Scala equivalents. (session beans, servlets, persistence, filters, ...)
+1

On Tue, Jul 19, 2011 at 14:57, Sonnenschein <peter [dot] empen [at] arcor [dot] de> wrote:
To become a widely used programming language, Scala needs to
effectively replace parts of the Java Enterprise world. Any book or
whitepaper on this topic suitable for it managers and software
architects would pave the way for this process. I would also expect
typesafe.com to provide such material.

Luc + 1

Peter

Yuvi Masory
Joined: 2010-12-22,
User offline. Last seen 1 year 27 weeks ago.
Re: Re: What books would you like to see written on Scala?
I'm so glad this thread got so many responses. Thank you all!By the way, I sent emails about this thread to O'Reilly, Manning, Artima, Apress, and Pragmatic Bookshelf. If I missed any publishers please shoot them an email.

Yuvi



On Tue, Jul 19, 2011 at 9:17 AM, Jan Goyvaerts <java [dot] artisan [at] gmail [dot] com> wrote:
It would be very interesting indeed to see a comparison between Java EE and its Scala equivalents. (session beans, servlets, persistence, filters, ...)
+1

On Tue, Jul 19, 2011 at 14:57, Sonnenschein <peter [dot] empen [at] arcor [dot] de> wrote:
To become a widely used programming language, Scala needs to
effectively replace parts of the Java Enterprise world. Any book or
whitepaper on this topic suitable for it managers and software
architects would pave the way for this process. I would also expect
typesafe.com to provide such material.

Luc + 1

Peter


rejia
Joined: 2011-01-04,
User offline. Last seen 1 year 40 weeks ago.
Re: What books would you like to see written on Scala?
+1 Functional programming for the imperative programmer
Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: What books would you like to see written on Scala?
I guess what I'm saying is I tried to capture this in Scala IN Depth, but it's intermixed with some "Let's explain FP" and "Here's the nitty gritty on implicits".   Right now, best practices exists *and* certain areas of Scala need more in depth understanding so we can even describe best practices.  Hence the book, Scala In Depth.

So, if you want an Effective Scala book, please read Scala In Depth.   If it doesn't fit the bill 100%, I'll write another :)
- Josh

On Tue, Jul 19, 2011 at 8:53 AM, Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com> wrote:
I agree Scala idioms may change somewhat over the next couple of years. We can have multiple editions of Effective Scala (just like Effective Java) reflecting the changes. Lots of people are using Scala today. And they need this guidance today. The earlier we have such a book, better will be the code base that gets accumulated for tomorrow. And anyway if we start writing such a book today, it will take (almost) a year to complete.
Just my 2 cents ..

On Tue, Jul 19, 2011 at 6:15 PM, Matthew Pocock <turingatemyhamster [at] gmail [dot] com> wrote:


On 19 July 2011 13:06, Josh Suereth <joshua [dot] suereth [at] gmail [dot] com> wrote:


(2) Scala best practices are probably going to change (just slighty) over the course of the next year or two.  I'd say we can put together a good book, but something akin to Effective Java might be a year or two away....

Effective Java is a really good book. However, it benefited from Java being a mature programming language with a body of practical experience backing it, and from an author who had intimate knowledge of Java. It also is unashamedly the author's personal views. I'd agree with Josh that we are probably a little time away from having this depth of experience with Scala, although it is a book I'd buy tomorrow if it was available.
Matthew 
On Jul 19, 2011 7:45 AM, "Renghen Renghen" <renghen [at] gmail [dot] com> wrote:
> here is my wishlist,
>
> 1) more functional oriented scala
> 2) more on generics including manifest and the new specialise annotation.
> 3) more on implicits for 2.8
> 3) monads,monads,monads (theory and practice); from identity monad to
> comprehension monad
> 4) delimited continuation, theory and practice. enough to start programming
> using continuation
> 5) compiler plugin, why should one write one and how.
> 6) how to use the above to write dsl
> 7) parallel collections made simple - when n where to use parallel and how,
> best practices.
>
> Also a book that will assume that the reader is already use to some scala
> idioms, and do not need introduction to stuff like class, pattern matching,
> closures etc....
>
> On Tue, Jul 19, 2011 at 3:36 PM, Markus Jais <markus [dot] jais [at] yahoo [dot] de> wrote:
>
>> Yeah, that would be great. I like the Haskell book in that series. Great
>> stuff.
>>
>> Markus
>>
>> ------------------------------
>> *Von:* Debasish Ghosh <ghosh [dot] debasish [at] gmail [dot] com>
>> *An:* Yuvi Masory <ymasory [at] gmail [dot] com>
>> *Cc:* scala-user [at] googlegroups [dot] com
>> *Gesendet:* 12:02 Dienstag, 19.Juli 2011
>> *Betreff:* Re: [scala-user] What books would you like to see written on
>> Scala?
>>
>> also couldn't resist this .. Learn you a Functional Scala for Great good :)
>>
>> On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory <ymasory [at] gmail [dot] com> wrote:
>>
>> Hi everyone,
>>
>> I've exchanged a few emails with Manning. They are interested to know what
>> subjects the community is interested in having Scala books written on.
>> For example, would a Scala cookbook-style book be good? One on Akka? Etc.
>> Please add your suggestions. Since this is being discussed publicly all
>> publishers will benefit equally from your answers.
>>
>> I'd personally love a full book on Akka.
>>
>> Yuvi
>>
>>
>>
>>
>> --
>> Debasish Ghosh
>> http://manning.com/ghosh
>>
>> Twttr: @debasishg
>> Blog: http://debasishg.blogspot.com
>> Code: http://github.com/debasishg
>>
>>
>>



--
Dr Matthew PocockVisitor, School of Computing Science, Newcastle Universitymailto: turingatemyhamster [at] gmail [dot] com gchat: turingatemyhamster [at] gmail [dot] commsn: matthew_pocock [at] yahoo [dot] co [dot] uk irc.freenode.net: drdozertel: (0191) 2566550mob: +447535664143



--
Debasish Ghosh
http://manning.com/ghosh

Twttr: @debasishg
Blog: http://debasishg.blogspot.com
Code: http://github.com/debasishg

barden
Joined: 2010-03-30,
User offline. Last seen 33 weeks 5 days ago.
apply a list of extractors

Hi
 
I'm getting a List of Extractors
like 
 
object eInt  {def unapply(s: String) =
Some(s.toInt)} 
object eDbl {def unapply(s: String) =
Some(s.toDouble)} 
...
 
val extrs = List(eInt, eDbl, eInt, eString,
...)
 
and data
 
val
data = List("1", "2.0", "3", "foo", ...)
 
now I
want to extract the corresponding list of Anys via
 
data
zip extrs map {e =>
    e._1 match {case e._2(a) => a}
}
 
and
getting
 
error:
value _2 is not a case class constructor, nor does it have an unapply/unapplySeq
method
 
How
can I cure that?
 
Thanks
in advance,
and
I'm missing the book "Scala: Best Practice"
 
Volker.

Derek Williams
Joined: 2009-06-13,
User offline. Last seen 42 years 45 weeks ago.
Re: apply a list of extractors

On Tue, Jul 19, 2011 at 8:50 AM, Bardenhorst, Volker Dr.
wrote:
> Hi
>
> I'm getting a List of Extractors like
>
> object eInt  {def unapply(s: String) = Some(s.toInt)}
> object eDbl {def unapply(s: String) = Some(s.toDouble)}
> ...
>
> val extrs = List(eInt, eDbl, eInt, eString, ...)
>
> and data
>
> val data = List("1", "2.0", "3", "foo", ...)
>
> now I want to extract the corresponding list of Anys via
>
> data zip extrs map {e =>
>     e._1 match {case e._2(a) => a}
> }
>
> and getting
>
> error: value _2 is not a case class constructor, nor does it have an
> unapply/unapplySeq method
>
> How can I cure that?

Your list of extractors is most likely being inferred as a List[Any].
Easiest way to remedy that would be to create a common trait for them:

trait StringExtractor[A] {
def unapply(s: String): Option[A]
}

then define them as:

object EInt extends StringExtractor[Int] {def unapply(s: String) =
Some(s.toInt)}
object EDbl extends StringExtractor[Double] {def unapply(s: String) =
Some(s.toDouble)}

That should make your extractor list a List[StringExtractor[Any]]

Then to do the actual extracting it may work with pattern matching as
you tried, but you might have to do it manually:

data zip extrs flatMap {e => e._2.unapply(e._1) }

which will give you a List[Any].

--
Derek Williams

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: What books would you like to see written on Scala?
Really good to see books like this Dean!   

On Tue, Jul 19, 2011 at 11:27 AM, Dean Wampler <deanwampler [at] gmail [dot] com> wrote:
Well, if you don't mind Java syntax, O'Reilly is publishing my book, "Functional Programming for Java Developers" next week.
http://oreilly.com/catalog/9781449311032/
It's a short introduction, so experienced functional programmers won't find much that's new. It's aimed at the "imperative" Java programmer ;)
dean

On Tue, Jul 19, 2011 at 8:45 AM, Reggie <raiyoo [at] gmail [dot] com> wrote:
+1 Functional programming for the imperative programmer



--
Dean Wampler
co-producer, Development Languages, Practices, and Techniques stage at Agile2011
"Programming Scala" (O'Reilly)  http://programmingscala.com
twitter: @deanwampler, @chicagoscala
http://polyglotprogramming.com


Dean Wampler
Joined: 2008-12-26,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?
Well, if you don't mind Java syntax, O'Reilly is publishing my book, "Functional Programming for Java Developers" next week.
http://oreilly.com/catalog/9781449311032/
It's a short introduction, so experienced functional programmers won't find much that's new. It's aimed at the "imperative" Java programmer ;)
dean

On Tue, Jul 19, 2011 at 8:45 AM, Reggie <raiyoo [at] gmail [dot] com> wrote:
+1 Functional programming for the imperative programmer



--
Dean Wampler
co-producer, Development Languages, Practices, and Techniques stage at Agile2011
"Programming Scala" (O'Reilly)  http://programmingscala.com
twitter: @deanwampler, @chicagoscala
http://polyglotprogramming.com

Joshua.Suereth
Joined: 2008-09-02,
User offline. Last seen 32 weeks 5 days ago.
Re: apply a list of extractors
You could try:
for {  (v,e) <- data zip extrs  b <- e.unapply(v)} yield b


On Tue, Jul 19, 2011 at 10:50 AM, Bardenhorst, Volker Dr. <Volker [dot] Bardenhorst [at] eon [dot] com> wrote:
Hi   I'm getting a List of Extractors like    object eInt  {def unapply(s: String) = Some(s.toInt)}  object eDbl {def unapply(s: String) = Some(s.toDouble)}  ...   val extrs = List(eInt, eDbl, eInt, eString, ...)   and data   val data = List("1", "2.0", "3", "foo", ...)   now I want to extract the corresponding list of Anys via   data zip extrs map {e =>     e._1 match {case e._2(a) => a} }   and getting   error: value _2 is not a case class constructor, nor does it have an unapply/unapplySeq method   How can I cure that?   Thanks in advance, and I'm missing the book "Scala: Best Practice"   Volker.

Yuvi Masory
Joined: 2010-12-22,
User offline. Last seen 1 year 27 weeks ago.
Re: What books would you like to see written on Scala?
I do mind Java syntax, but I'm definitely reading that book!

Yuvi



On Tue, Jul 19, 2011 at 11:27 AM, Dean Wampler <deanwampler [at] gmail [dot] com> wrote:
Well, if you don't mind Java syntax, O'Reilly is publishing my book, "Functional Programming for Java Developers" next week.
http://oreilly.com/catalog/9781449311032/
It's a short introduction, so experienced functional programmers won't find much that's new. It's aimed at the "imperative" Java programmer ;)
dean

On Tue, Jul 19, 2011 at 8:45 AM, Reggie <raiyoo [at] gmail [dot] com> wrote:
+1 Functional programming for the imperative programmer



--
Dean Wampler
co-producer, Development Languages, Practices, and Techniques stage at Agile2011
"Programming Scala" (O'Reilly)  http://programmingscala.com
twitter: @deanwampler, @chicagoscala
http://polyglotprogramming.com


Clint Gilbert 2
Joined: 2010-03-16,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Agreed, this would be fantastic.

On 07/18/2011 11:49 AM, Debasish Ghosh wrote:
> Effective Scala .. with the same level of depth and insight as Josh Bloch's
> Effective Java ..
>
> On Mon, Jul 18, 2011 at 8:57 PM, Yuvi Masory > wrote:
>
> Hi everyone,
>
> I've exchanged a few emails with Manning. They are interested to know what
> subjects the community is interested in having Scala books written on.
> For example, would a Scala cookbook-style book be good? One on Akka? Etc.
> Please add your suggestions. Since this is being discussed publicly all
> publishers will benefit equally from your answers.
>
> I'd personally love a full book on Akka.
>
> Yuvi
>
>
>
>

Tony Morris 2
Joined: 2009-03-20,
User offline. Last seen 42 years 45 weeks ago.
Re: What books would you like to see written on Scala?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/07/11 21:45, Renghen Renghen wrote:
> here is my wishlist,
>
>
> 3) monads,monads,monads (theory and practice); from identity monad
> to comprehension monad
What is the comprehension monad? Did you mean continuation monad?

Philipp Haller
Joined: 2009-01-13,
User offline. Last seen 42 years 45 weeks ago.
Re: Re : What books would you like to see written on Scala?

Hi Marc-Daniel,

> There are interesting books at manning like Debasish Ghosh Dsl in action, the Joshua Suereth MEAP Scala in depth. I 'd really like a book about the philosophy of writing with actors from Carl Hewitt thougths to Scala/Akka implementations, through Erlang applications, with real world examples. To embrace Actor paradigm I have bought an Erlang book. Nice move, but some Scala/Akka stuff would be really welcome.

This is exactly what we are aiming at with our book on actors ("Actors in Scala", Artima).

It starts with the philosophy behind actors, covers Scala's language support for programming with actors, and then continues with concrete examples written in Scala. It covers both the scala.actors package in Scala 2.8/2.9 as well as Akka's actors (Akka 2.0). There are larger examples on how to do MapReduce-style computations, graph processing, as well as the core of a cluster runtime system using remote actors.

While we cannot cover the entire Akka API (which still has to stabilize in some areas), the book should get you up to speed, in a way that is complementary to Akka's excellent online documentation.

Cheers,
Philipp

--
Co-author, "Actors in Scala" (Artima Inc, 2011)
Postdoc, EPFL and Stanford University

Peter C. Chapin 2
Joined: 2011-01-07,
User offline. Last seen 42 years 45 weeks ago.
RE: Re : What books would you like to see written on Scala?

Do you have a sense of when "Actors in Scala" will be finished? The Artima
site says publication date is June 30, 2011.

Peter

> -----Original Message-----
> From: scala-user [at] googlegroups [dot] com [mailto:scala-user [at] googlegroups [dot] com]
> On Behalf Of Philipp Haller
> Sent: Tuesday, July 19, 2011 20:09
> To:
> Subject: Re: [scala-user] Re : What books would you like to see written on
> Scala?
>
> Hi Marc-Daniel,
>
> > There are interesting books at manning like Debasish Ghosh Dsl in
action,
> the Joshua Suereth MEAP Scala in depth. I 'd really like a book about the
> philosophy of writing with actors from Carl Hewitt thougths to Scala/Akka
> implementations, through Erlang applications, with real world examples. To
> embrace Actor paradigm I have bought an Erlang book. Nice move, but some
> Scala/Akka stuff would be really welcome.
>
> This is exactly what we are aiming at with our book on actors ("Actors in
> Scala", Artima).
>
> It starts with the philosophy behind actors, covers Scala's language
support
> for programming with actors, and then continues with concrete examples
> written in Scala. It covers both the scala.actors package in Scala 2.8/2.9
as well
> as Akka's actors (Akka 2.0). There are larger examples on how to do
> MapReduce-style computations, graph processing, as well as the core of a
> cluster runtime system using remote actors.
>
> While we cannot cover the entire Akka API (which still has to stabilize in
some
> areas), the book should get you up to speed, in a way that is
complementary
> to Akka's excellent online documentation.
>
> Cheers,
> Philipp
>
> --
> Co-author, "Actors in Scala" (Artima Inc, 2011) Postdoc, EPFL and Stanford
> University
>

Stefan Wagner
Joined: 2011-04-08,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: What books would you like to see written on Scala?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 18.07.2011 18:50, schrieb Thomas Lockney:

> * Functional programming (preferably covering general FP concepts applied to
> Scala, the theoretic underpinnings and, perhaps, some coverage of Scalaz)

Yep. Scalaz. Why and how. Examples.

Tony Morris 2
Joined: 2009-03-20,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: What books would you like to see written on Scala?

On 20/07/11 15:27, Stefan Wagner wrote:
> Am 18.07.2011 18:50, schrieb Thomas Lockney:
>
> > * Functional programming (preferably covering general FP concepts
> applied to
> > Scala, the theoretic underpinnings and, perhaps, some coverage of
> Scalaz)
>
> Yep. Scalaz. Why and how. Examples.
>
Coming. Promise.

Anwar Rizal
Joined: 2011-07-05,
User offline. Last seen 42 weeks 5 days ago.
Re: Re: What books would you like to see written on Scala?

Ordered. Promise:-)

On 20 Jul 2011, at 07:44, Tony Morris wrote:

> On 20/07/11 15:27, Stefan Wagner wrote:
>> Am 18.07.2011 18:50, schrieb Thomas Lockney:
>>
>>> * Functional programming (preferably covering general FP concepts
>> applied to
>>> Scala, the theoretic underpinnings and, perhaps, some coverage of
>> Scalaz)
>>
>> Yep. Scalaz. Why and how. Examples.
>>
> Coming. Promise.
>

Markus Jais
Joined: 2011-06-14,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: What books would you like to see written on Scala?

Ordered +1.  Also promised :-)
Markus


Ordered. Promise:-)

On 20 Jul 2011, at 07:44, Tony Morris <tonymorris [at] gmail [dot] com> wrote:

> On 20/07/11 15:27, Stefan Wagner wrote:
>> Am 18.07.2011 18:50, schrieb Thomas Lockney:
>>
>>> * Functional programming (preferably covering general FP concepts
>> applied to
>>> Scala, the theoretic underpinnings and, perhaps, some coverage of
>> Scalaz)
>>
>> Yep. Scalaz. Why and how. Examples.
>>
> Coming. Promise.
>
> --
> Tony Morris
> http://tmorris.net/
>
>


barden
Joined: 2010-03-30,
User offline. Last seen 33 weeks 5 days ago.
RE: apply a list of extractors
Thanks guys, you all were absolutly right
From: Josh Suereth [mailto:joshua [dot] suereth [at] gmail [dot] com]
Sent: 19 July 2011 17:44
To: Bardenhorst, Volker Dr.
Cc: scala-user [at] googlegroups [dot] com
Subject: Re: [scala-user] apply a list of extractors

You could try:
for {   (v,e) <- data zip extrs   b <- e.unapply(v) } yield b


On Tue, Jul 19, 2011 at 10:50 AM, Bardenhorst, Volker Dr. <Volker [dot] Bardenhorst [at] eon [dot] com> wrote:
Hi   I'm getting a List of Extractors like    object eInt  {def unapply(s: String) = Some(s.toInt)}  object eDbl {def unapply(s: String) = Some(s.toDouble)}  ...   val extrs = List(eInt, eDbl, eInt, eString, ...)   and data   val data = List("1", "2.0", "3", "foo", ...)   now I want to extract the corresponding list of Anys via   data zip extrs map {e =>     e._1 match {case e._2(a) => a} }   and getting   error: value _2 is not a case class constructor, nor does it have an unapply/unapplySeq method   How can I cure that?   Thanks in advance, and I'm missing the book "Scala: Best Practice"   Volker.

Philipp Haller
Joined: 2009-01-13,
User offline. Last seen 42 years 45 weeks ago.
Re: Re : What books would you like to see written on Scala?

Our current plan is to publish the finished version by the end of September. The 2nd preprint is already available. If you have purchased the preprint, it might be possible to get you a more recent preprint before then. Just contact me in private if this is what you need.

Cheers,
Philipp

On Jul 19, 2011, at 8:08 PM, Peter C. Chapin wrote:

> Do you have a sense of when "Actors in Scala" will be finished? The Artima
> site says publication date is June 30, 2011.
>
> Peter
>
>> -----Original Message-----
>> From: scala-user [at] googlegroups [dot] com [mailto:scala-user [at] googlegroups [dot] com]
>> On Behalf Of Philipp Haller
>> Sent: Tuesday, July 19, 2011 20:09
>> To:
>> Subject: Re: [scala-user] Re : What books would you like to see written on
>> Scala?
>>
>> Hi Marc-Daniel,
>>
>>> There are interesting books at manning like Debasish Ghosh Dsl in
> action,
>> the Joshua Suereth MEAP Scala in depth. I 'd really like a book about the
>> philosophy of writing with actors from Carl Hewitt thougths to Scala/Akka
>> implementations, through Erlang applications, with real world examples. To
>> embrace Actor paradigm I have bought an Erlang book. Nice move, but some
>> Scala/Akka stuff would be really welcome.
>>
>> This is exactly what we are aiming at with our book on actors ("Actors in
>> Scala", Artima).
>>
>> It starts with the philosophy behind actors, covers Scala's language
> support
>> for programming with actors, and then continues with concrete examples
>> written in Scala. It covers both the scala.actors package in Scala 2.8/2.9
> as well
>> as Akka's actors (Akka 2.0). There are larger examples on how to do
>> MapReduce-style computations, graph processing, as well as the core of a
>> cluster runtime system using remote actors.
>>
>> While we cannot cover the entire Akka API (which still has to stabilize in
> some
>> areas), the book should get you up to speed, in a way that is
> complementary
>> to Akka's excellent online documentation.
>>
>> Cheers,
>> Philipp
>>
>> --
>> Co-author, "Actors in Scala" (Artima Inc, 2011) Postdoc, EPFL and Stanford
>> University
>>
>
>

--
Co-author, "Actors in Scala" (Artima Inc, 2011)
Postdoc, EPFL and Stanford University

dcsobral
Joined: 2009-04-23,
User offline. Last seen 38 weeks 5 days ago.
Re: What books would you like to see written on Scala?

On Mon, Jul 18, 2011 at 12:27, Yuvi Masory wrote:
> Hi everyone,
> I've exchanged a few emails with Manning. They are interested to know what
> subjects the community is interested in having Scala books written on.
> For example, would a Scala cookbook-style book be good? One on Akka? Etc.
> Please add your suggestions. Since this is being discussed publicly all
> publishers will benefit equally from your answers.
> I'd personally love a full book on Akka.

I'd rather they waited a bit, actually... :-) There are a few books in
the pipeline:

Scala in Depth by Josh Suereth
Lift in Action by Tim Perret
the actors book by Phillip Haller, I don't recall it's name
the mysterious book about functional programming in Scala -- by Runar?
Tony? Not sure.

If they all accomplish what they set out to do, they'll cover most of
what's needed right now. If something is missing, then I'd target what
they miss. Personally, I think more books like Scala in Depth will be
needed, however well Josh might have done his job. Unfortunately,
finding an author that is _really_ up to it might be very hard,
because most of us are simply not using Scala on large scale projects
long enough.

I don't know how the functional programing book is going, but I think
there's market for more books on learning functional programming with
Scala. Then again, I'm biased.

I agree that a short book on SBT would be really nice, since SBT is
now such an important and essential element of the Scala ecosystem. +1
on that.

Another book that I'd enjoy would be Testing with Scala, covering
Scalatest, Specs 1 and 2 and Scalacheck. It can have additional
chapters covering testing on Lift, that Scala mocking library (sorry,
can't recall the name right now), Scala's partest system or minor
testing libraries, as "extras". It is not that these frameworks are
particularly hard to learn and use, but having a book about something
lowers the entry barriers to that.

Yuvi Masory
Joined: 2010-12-22,
User offline. Last seen 1 year 27 weeks ago.
Re: What books would you like to see written on Scala?
Another book that I'd enjoy would be Testing with Scala, covering
Scalatest, Specs 1 and 2 and Scalacheck. It can have additional
chapters covering testing on Lift, that Scala mocking library (sorry,
can't recall the name right now), Scala's partest system or minor
testing libraries, as "extras". It is not that these frameworks are
particularly hard to learn and use, but having a book about something
lowers the entry barriers to that.

The nice thing about a book like that would be each other would only have to write a few chapters, which could streamline the process from the publisher's perspective. I'd like to see a testing book too! Maybe if that's not large enough a subject it could be embedded in a larger book on Scala software engineering that also covers sbt and some other topics.
Yuvi
fanf
Joined: 2009-03-17,
User offline. Last seen 2 years 30 weeks ago.
Re: What books would you like to see written on Scala?

Le 21/07/2011 22:31, Daniel Sobral a écrit :
>[...]
> I'd rather they waited a bit, actually... :-) There are a few books in
> the pipeline:
>
> Scala in Depth by Josh Suereth
> Lift in Action by Tim Perret
> the actors book by Phillip Haller, I don't recall it's name
> the mysterious book about functional programming in Scala -- by Runar?
> Tony? Not sure.

Isn't there also a "Monadic Design Patterns for the Web" by Gregory
Meredith in the pipe ?

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland