modal/examples/flip.modal

8 lines
248 B
Plaintext
Raw Normal View History

2024-04-07 15:35:59 -04:00
<> (explode ?*) (str (?*))
<> (reverse (str (?h ?t))) (reverse/l ?t (?h))
<> (reverse (str (?h))) (?h)
<> (reverse/l (?h ?t) ?l) (reverse/l ?t (?h ?l))
<> (reverse/l (?h) ?l) (str (?h ?l))
<> (implode str ?*) (?*)
(implode reverse (explode hello))