Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Copy-a-string/Transd/copy-a-string.transd
Normal file
14
Task/Copy-a-string/Transd/copy-a-string.transd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#lang transd
|
||||
|
||||
MainModule : {
|
||||
_start: (λ
|
||||
(with s "Hello!" s1 "" s2 ""
|
||||
(= s1 s) // duplication of 's' content
|
||||
(rebind s2 s) // another reference to 's'
|
||||
(= s "Good bye!")
|
||||
(lout s)
|
||||
(lout s1)
|
||||
(lout s2)
|
||||
)
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue