Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is that up side arrow before the number 10 in the constant method instance below?

To make it clear and concise:

1. What is it?
2. Why is it there?
3. How to type it with a normal Keyboard?
4. Thanks!

enter image description here

like image 726
marsrover Avatar asked Dec 11 '22 14:12

marsrover


2 Answers

It's ^ symbol. :) A return statement in smalltalk.

I don't know if it's default listing's feature in latex, but upward arrow is being used of ^.

On normal keyboard you can type this symbol by pressing Shift + 6

like image 105
Uko Avatar answered May 21 '23 04:05

Uko


Just for the record, in old versions of Pharo, the ^ character was printed as an "up arrow". So, as Yuriy says type ^ to get the "up arrow" return.

That behavior does not exist any more in latest versions of Pharo: ^ is printed as ^.

like image 34
Guille Polito Avatar answered May 21 '23 05:05

Guille Polito