Ellipsis can be achieved with a variant of {zo'e li'o}, so for example {li pa ce li re ce li ci ce zo'e li'o du lo'i zmamulna'u}
mu'o mi'e .latros.On Mon, Feb 14, 2011 at 6:06 PM, Ross Ogilvie <oges007@gmail.com> wrote:
Hey
I'm not a Haskell (or any other functional language) programmer, so I don't know what all these mean. But I'll take a stab (newb warning, advice may be wrong)lo porsi be tu'a lo banro bei lo'i rarna'u
> The ordered sequence of [1,2,3...].
vo'i lo'i rarna'uli 2 pi'i py
> The ordered sequence which results from doubling every term in the above. i.e. map (*2) [1..]
For appropriately overloaded pi'i, and assuming the about sequence is py.lu'i py - use lu'i to turn things into sets
> The sets corresponding to the sequences above.The first 10 terms of the sequence [1,2...].
Not sure how to make ranged selectionli 1 ce'o 3 ce'o 5 ce'o 7 ce'o 9
> The sequence [1,2...10].
> The sequence [1,3,5...9].
I don't know a way to express ellipsisli si'i sy
> The sum of the above sequence.I don't know; there is no product equivelent to sigma notation in VUhU. Maybe:
> The product of the sequence 2 above.
li na'u poipi'i te'u syme'o ma'o fy boi xy boi y'y fancu fo me'o pi'i su'i xy boi y'y ku'e y'y
> f(x,y) = (x+y)*y. (I'm fairly certain I know where to look for this in CLL, but I'm including it for completeness)
Don't know what this means.
> foldl f [1..4]. (with f as defined above)lo'i pilji be ny bei ny
> [x^2 | x <- [1..]]. (the list comprehension)
> {x^2 | x is an element of the natural numbers}. (the set comprehension)
Not sure how to correctly restrict ny to the naturals.
It would be awesome if lojban mex had a (reasonably developed) type system, and the operators overloaded appropriately. I believe minimiscience was working on such a system, judging from their work on the bpfk mex operators page (http://www.lojban.org/tiki/tiki-index.php?page=BPFK+Section%3A+MEX+Operators). I've messed around with some ideas, but not developed anything substantial (got sidetracked with a lojban parser project).
As for resources. The most significant work on maths in lojban that I know of is a translation of the first chapter of a book about (higher) algebra. It's on the page Robin linked. I started a translation of a chapter of Evans and Gariepy, which I'm going to try and finish today. I think there are a few pages coining some terminology (http://www.lojban.org/tiki/Math+terminology), but imo it is fairly minimal.
At the moment, I would agree with Robin that mekso is unsuitable for anything more than simple things. I tend to use a more hybrid approach though.
mu'o mi'e ros--
You received this message because you are subscribed to the Google Groups "lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojban?hl=en.
--
You received this message because you are subscribed to the Google Groups "lojban" group.
To post to this group, send email to lojban@googlegroups.com.
To unsubscribe from this group, send email to lojban+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/lojban?hl=en.
Attachment:
evansandgariepy.pdf
Description: Adobe PDF document
Attachment:
EvansAndGariepy.tex
Description: TeX document