Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,16 @@
|
|||
#lang transd
|
||||
|
||||
MainModule: {
|
||||
size: "little",
|
||||
|
||||
_start: (λ
|
||||
// Transd supports direct interpolation
|
||||
(with s String("Mary had a " size " lamb.")
|
||||
(lout s))
|
||||
|
||||
// To interpolate a string variable within another
|
||||
// string variable we use 'replace'
|
||||
(with s "Mary had a %s lamb."
|
||||
(lout (replace s "%s" size)))
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue