[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lojban] Re: brivla se brivla
On Sunday 14 September 2003 18:01, Craig wrote:
> >if we use the lisp notation:
> >
> >(function_name arg1 arg2 ...)
> >
> >then "mi klama do" would be
> >
> >(klama mi do)
> >
> >or
> >
> >((se klama) do mi)
> >
> >where the function "se" modifies the function "klama" to return a new
> >function that is klama with its first two args swapped.
>
> Yes.
>
> >Now suppose we have a tanru "f2 f1" where f2 is the modifier, what
> >would be the lisp notation be?
> >(for example, in "mi sutra klama do", sutra is f2 and klama is f1)
> >
> >i thought it is
> >
> >((f2 f1) x1 x2)
>
> Exactly. You can add additional parentheses to make it
>
> (((f2) f1) x1 x2)
>
> which is equivalent to
>
> (((f2) se f1) x2 x1)
>
> as in "do sutra se klama mi"
So how would you express in Lisp {ko'a cmalu be lo ni clani bei lo'e
prenrvatusi be'o mikce fi lo ka skorbuti}?
phma