Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
Module CheckIt {
|
||||
Function Tokenize$(s){
|
||||
\\ letter$ pop a string from stack of values
|
||||
\\ shift 2 swap top two values on stack of values
|
||||
fold1=lambda m=1 ->{
|
||||
shift 2 :if m=1 then m=0:drop: push letter$ else push letter$+"."+letter$
|
||||
}
|
||||
=s#fold$(fold1)
|
||||
}
|
||||
Print Tokenize$(piece$("Hello,How,Are,You,Today",",")) ="Hello.How.Are.You.Today" ' true
|
||||
}
|
||||
Checkit
|
||||
Loading…
Add table
Add a link
Reference in a new issue