- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Actor is not supported on .net framework ?
hi,
I just compile the pingpong example using scalac-net , but error occurs:
Many thanks!
I just compile the pingpong example using scalac-net , but error occurs:
C:\Users\tony\scala\pingpong>scalac-net pingpong.scalaIs there a feature list that supports .net in scala?
pingpong.scala:1: error: value actors is not a member of package scala
import scala.actors.Actor
^
pingpong.scala:2: error: value actors is not a member of package scala
import scala.actors.Actor._
^
pingpong.scala:16: error: value start is not a member of Ping
ping.start
^
pingpong.scala:17: error: value start is not a member of Pong
pong.start
^
pingpong.scala:18: error: value ! is not a member of Ping
ping ! Start
^
5 errors found
Many thanks!










Re: Actor is not supported on .net framework ?
C:\Users\tony\scala\address>scalac-net addressbook.scala
addressbook.scala:35: error: value xml is not a member of package scala
<head>
^
addressbook.scala:53: error: value xml is not a member of package scala
<html>
^
addressbook.scala:16: error: value xml is not a member of package scala
<table cellpadding="2" cellspacing="0">
^
three errors found
On Thu, Feb 5, 2009 at 8:26 PM, lu dongping <outersky [at] gmail [dot] com> wrote:
Re: Actor is not supported on .net framework ?
On Thu, Feb 5, 2009 at 7:26 AM, lu dongping <outersky [at] gmail [dot] com> wrote:
--
http://erikengbrecht.blogspot.com/
Re: Actor is not supported on .net framework ?
You can write Scala code which is correct for concurrency with respect to the current implementation on the JVM, but there's no guarantee that it will be correct on .NET or that it will continue to be correct on future implementations of Scala.
On Thu, Feb 5, 2009 at 12:37 PM, Erik Engbrecht <erik [dot] engbrecht [at] gmail [dot] com> wrote: