Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7ebd25ac536d248d499a3ce2acda963a > files > 2478

Macaulay2-1.3.1-8.fc15.i686.rpm

-- -*- M2-comint -*- {* hash: -1870720533 *}

i1 : x = t

o1 = t

o1 : Symbol

i2 : x <- 4

o2 = 4

i3 : x

o3 = t

o3 : Symbol

i4 : t

o4 = 4

i5 : y <- 44

o5 = 44

i6 : y

o6 = 44

i7 : f = () -> symbol z

o7 = f

o7 : FunctionClosure

i8 : (f()) <- 44

o8 = 44

i9 : z

o9 = 44

i10 : installMethod(symbol <-, String, peek)

o10 = peek

o10 : FunctionClosure

i11 : "foo" <- "bar"

o11 = ("foo", "bar")

i12 : "foo" | "foo" <- "bar"

o12 = ("foofoo", "bar")

i13 : u = s_4

o13 = s
       4

o13 : IndexedVariable

i14 : s = 3

o14 = 3

i15 : u <- 555
--warning: clearing value of symbol s to allow access to subscripted variables based on it

o15 = 555

i16 : s

o16 = s

o16 : IndexedVariableTable

i17 : s_4

o17 = 555

i18 : u

o18 = s
       4

o18 : IndexedVariable

i19 : value u

o19 = 555

i20 : (symbol a, symbol b) <- (3,4)

o20 = (3, 4)

o20 : Sequence

i21 : a

o21 = 3

i22 : (symbol r_1 .. symbol r_3) <- (5,6,7)

o22 = (5, 6, 7)

o22 : Sequence

i23 : r_2

o23 = 6

i24 :