another side note; we don't use ⇒ in documentation, so if you find one
there it is a bug and a pull request is welcome

On Tue, May 12, 2015 at 7:34 AM, Martynas Mickevičius <
martynas.mickevic...@typesafe.com> wrote:

> Hi Bill,
>
> ⇒ is treated by the scala compiler the same as =>. Try the following in
> the scala repl:
>
> scala> val myFunc = (x: Int) ⇒ x + 1
> myFunc: Int => Int = <function1>
>
> scala> myFunc(1)
> res12: Int = 2
>
> The scalariform sbt plugin that akka project uses converts => to ⇒
> automatically before the code is compiled using sbt.
>
> PS. As a side note, please do not double post between akka-dev and
> akka-user.
>
> On Tue, May 12, 2015 at 8:02 AM, BillZhang <jingege...@gmail.com> wrote:
>
>> e.g.
>> https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/dispatch/Mailbox.scala#L143
>>
>> On Tuesday, May 12, 2015 at 12:50:21 PM UTC+8, BillZhang wrote:
>>>
>>> I found ⇒ operator in akka's source.
>>> Why they don't use => instead?
>>> Where ⇒ defined?
>>> thx for ur answer!
>>>
>>  --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ:
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Martynas Mickevičius
> Typesafe <http://typesafe.com/> – Reactive
> <http://www.reactivemanifesto.org/> Apps on the JVM
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to