You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Turkish, a simple example from the scala tutorial is:
val n = new Nokta(3, 4) //> val n: Nokta = Nokta@98f03a4
n.x //> val res1: TurkishAPI.Sayı = 3
It would help readability to remove TurkishAPI. and return only the type alias (type Sayı = Int and Nokta is Turkish for Point) as follows: p.x //> val res1: Sayı
I hope this is not too involved? Either way, please let me know a few pointers and I can work on it..
The text was updated successfully, but these errors were encountered:
By the way, even for English, it would be good to filter out the UserCode.this. prefix from the type info we get with control-t (great feature BTW!). E.g.. in tangle, the last example from the tutorial, the type info on a couple of variables shows up as:
[type] p : scala.collection.immutable.Vector[UserCode.this.NodeP]
[type] edges : scala.collection.immutable.Vector[UserCode.this.EdgeP]
It would be nicer to have the simpler:
[type] p : scala.collection.immutable.Vector[NodeP]
[type] edges : scala.collection.immutable.Vector[EdgeP]
In Turkish, a simple example from the scala tutorial is:
It would help readability to remove
TurkishAPI.
and return only the type alias (type Sayı = Int
andNokta
is Turkish forPoint
) as follows:p.x //> val res1: Sayı
I hope this is not too involved? Either way, please let me know a few pointers and I can work on it..
The text was updated successfully, but these errors were encountered: