DodoUtil.dcl 429 Bytes
Newer Older
Diederik van Arkel's avatar
Diederik van Arkel committed
1 2 3 4 5 6 7 8
definition module DodoUtil

//1.3
import StdString
//3.1

sSplit :: !.Char !String -> (!String,!String)
eSplit :: !.Char !String -> (!String,!String)
Diederik van Arkel's avatar
Diederik van Arkel committed
9
lSplit :: !.Char !String -> [String]
Diederik van Arkel's avatar
Diederik van Arkel committed
10 11 12 13 14 15 16 17 18
words :: !String -> [String]
unwords :: ![String] -> String
scopy ::
	!Int		// end of copy source index
	!Int		// current target index
	!Int		// current source index
	!*{#Char}	// target string
	!{#Char}	// source string
	-> (!Int,!.{#Char})