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

Nick Partridge on Scalaz at Melbourne Scala User Group

4 replies
Tony Morris 2
Joined: 2009-03-20,
User offline. Last seen 42 years 45 weeks ago.
Chris Marshall
Joined: 2009-06-17,
User offline. Last seen 44 weeks 4 days ago.
RE: Nick Partridge on Scalaz at Melbourne Scala User Group
Thanks to Nick for this awesome video. I have a SO question around one of the topics covered by Nick, namely the use of the <|*|> method on a Validation

http://stackoverflow.com/questions/2545248/function-syntax-puzzler-in-sc...

The question ultimately is:

1. How come a validation (M[A,B]) gets passed as a parameter to <|*|> which looks like it is expecting an M[A]?
2. How does (_: A, _:B) define a function in the call to <**> ? This just seems to say "Any Function2[A,B]" to me: what function is being passed in?

Chris

> Date: Mon, 29 Mar 2010 09:31:25 +1000
> From: tonymorris [at] gmail [dot] com
> Subject: [scala-user] Nick Partridge on Scalaz at Melbourne Scala User Group
>
> Video
> http://vimeo.com/10482466
>


Not got a Hotmail account? Sign-up now - Free
Chris Marshall
Joined: 2009-06-17,
User offline. Last seen 44 weeks 4 days ago.
RE: Nick Partridge on Scalaz at Melbourne Scala User Group
Scrap question 2 - I get it: (_: A, _: B) describes the function:

 f: (A, B) => Pair[A, B]

From: oxbow_lakes [at] hotmail [dot] com
To: tonymorris [at] gmail [dot] com; scala-user [at] listes [dot] epfl [dot] ch
Subject: RE: [scala-user] Nick Partridge on Scalaz at Melbourne Scala User Group
Date: Tue, 30 Mar 2010 14:05:34 +0000

.ExternalClass .ecxhmmessage P {padding:0px;} .ExternalClass body.ecxhmmessage {font-size:10pt;font-family:Verdana;} Thanks to Nick for this awesome video. I have a SO question around one of the topics covered by Nick, namely the use of the <|*|> method on a Validation

http://stackoverflow.com/questions/2545248/function-syntax-puzzler-in-sc...

The question ultimately is:

1. How come a validation (M[A,B]) gets passed as a parameter to <|*|> which looks like it is expecting an M[A]?
2. How does (_: A, _:B) define a function in the call to <**> ? This just seems to say "Any Function2[A,B]" to me: what function is being passed in?

Chris

> Date: Mon, 29 Mar 2010 09:31:25 +1000
> From: tonymorris [at] gmail [dot] com
> Subject: [scala-user] Nick Partridge on Scalaz at Melbourne Scala User Group
>
> Video
> http://vimeo.com/10482466
>


Not got a Hotmail account? Sign-up now - Free
Do you have a story that started on Hotmail? Tell us now
Jason Zaugg
Joined: 2009-05-18,
User offline. Last seen 38 weeks 5 days ago.
Re: Nick Partridge on Scalaz at Melbourne Scala User Group

Too late :)

On Tue, Mar 30, 2010 at 4:22 PM, christopher marshall
wrote:
> Scrap question 2 - I get it: (_: A, _: B) describes the function:
>
>  f: (A, B) => Pair[A, B]
>
> ________________________________
> From: oxbow_lakes [at] hotmail [dot] com
> To: tonymorris [at] gmail [dot] com; scala-user [at] listes [dot] epfl [dot] ch
> Subject: RE: [scala-user] Nick Partridge on Scalaz at Melbourne Scala User
> Group
> Date: Tue, 30 Mar 2010 14:05:34 +0000
>
> Thanks to Nick for this awesome video. I have a SO question around one of
> the topics covered by Nick, namely the use of the <|*|> method on a
> Validation
>
> http://stackoverflow.com/questions/2545248/function-syntax-puzzler-in-sc...
>
> The question ultimately is:
>
> 1. How come a validation (M[A,B]) gets passed as a parameter to <|*|> which
> looks like it is expecting an M[A]?
> 2. How does (_: A, _:B) define a function in the call to <**> ? This just
> seems to say "Any Function2[A,B]" to me: what function is being passed in?
>
> Chris
>
>> Date: Mon, 29 Mar 2010 09:31:25 +1000
>> From: tonymorris [at] gmail [dot] com
>> Subject: [scala-user] Nick Partridge on Scalaz at Melbourne Scala User
>> Group
>>
>> Video
>> http://vimeo.com/10482466
>>
>
>
> ________________________________
> Not got a Hotmail account? Sign-up now - Free
> ________________________________
> Do you have a story that started on Hotmail? Tell us now

andreas s.
Joined: 2009-01-15,
User offline. Last seen 42 years 45 weeks ago.
Re: Nick Partridge on Scalaz at Melbourne Scala User Group

The Presentation/ Video was _really_ interesting, I wish I had functional
programming at my school..
Awesome stuff!
regards andreas

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