File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -582,6 +582,8 @@ avec les plus jeunes.")
582582(dm T (ELTS)
583583 (=: elts ELTS)
584584)
585+ (dm list > ()
586+ T )
585587(dm length> ()
586588 (length (: elts))
587589)
@@ -991,7 +993,7 @@ Le suffixe `@` indique le caractère pseudo-aléatoire de cette commande.
991993
992994# Types et conversions
993995(de !liste? (!x)
994- (or (try 'text > !x) (try 'text > !evaled_x)) )
996+ (or (try 'list > !x) (try 'list > !evaled_x)) )
995997(de !type_sym (!x)
996998 (let (!evaled_x (eval !x)
997999 embedded_type (ifn (num? !x) (get !x 'type)))
Original file line number Diff line number Diff line change 197197 '(or (put 'x 'type NIL) T)
198198 '(let (x NIL) (= "(Liste 1 2 (Liste 3 4))" (prog (Declarer x De_type "liste") (Affecter_a x (Liste 3 4)) (Afficher (Liste 1 2 x)) *LastStdOut)))
199199 '(or (put 'x 'type NIL) T)
200+ '(let (x NIL) (= "(Liste \"bonjour\")" (prog (Declarer x De_type "liste") (Affecter_a x (Liste "bonjour")) (Afficher x) *LastStdOut)))
201+ '(or (put 'x 'type NIL) T)
200202 '(= "(Liste 1 2 (Liste 3 (Liste 4 5)))" (prog (Afficher (Liste 1 2 (Liste 3 (Liste 4 5)))) *LastStdOut))
201203 '(or (put 'x 'type NIL) T)
202204 '(= "(Liste 1 \"bonjour\" Vrai)" (prog (Afficher (Liste 1 "bonjour" Vrai)) *LastStdOut))
You can’t perform that action at this time.
0 commit comments