Bug 31338 - Не работает <source lang="scheme">...</source>
Summary: Не работает <source lang="scheme">...</source>
Status: CLOSED FIXED
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: www.altlinux.org (show other bugs)
Version: unspecified
Hardware: all Linux
: P3 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: Nobody's working on this, feel free to take it
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-07 16:23 MSK by solo
Modified: 2017-09-05 15:22 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solo 2015-10-07 16:23:58 MSK
Не работает <source lang="scheme">...</source> -- часть кода не отображается вообще. Например (см. https://www.altlinux.org/Alterator/objects), при использовании кода:

<source lang="scheme">
(define (make-point-2d x y)
                   (lambda (op . value)
                        (case op
                             ((get-x) x)
                             ((get-y) y)
                             ((set-x) (set! x (car value)))
                             ((set-y) (set! y (car value))))))

(define point (make-point-2d 3 4))
(point 'get-x) ==> вернёт 3
(point 'set-x 10) ; запомнит в своём окружении новое значение x
(point 'get-x) ==> вернёт 10</source>

в блоке отображается только строка:

; запомнит в своём окружении новое значение x
Comment 1 lineprinter@altlinux.org 2017-09-05 15:22:47 MSK
С новой mediawiki вроде работает.