diff options
| author | mryouse | 2022-05-26 03:37:28 +0000 |
|---|---|---|
| committer | mryouse | 2022-05-26 03:37:28 +0000 |
| commit | 2c89221c8bcced63406920c4420c0f3bf5aaa4d6 (patch) | |
| tree | 39d9eb0b811fbcee6a3752881d709f46012b93f3 /README.md | |
| parent | d27e1efe1ac20d7c5efc73a3ffe439f10658f72a (diff) | |
progress 5/25
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -18,9 +18,12 @@ - TODO `(print-all [strings :list]) => :bool ; a list of strings` ### file system + - `(exists? [filename :string]) => :bool` - `(glob [regex :string]) => :list` - `(read-lines [filename :string]) => :list` - `(unlink [filename :string]) => :list ; returns empty list on success` + - `(with-write [filename :string] [[many :expr]]) => :any ; close file after block ends` + - `(write [content :string] [file :handle(?)]) => :list ; not yet sure how to handle, uh, handles` ### comparison and boolean - `(and [arg :bool] [many :bool]) => :bool` @@ -40,6 +43,8 @@ ### string - `(concat [arg :string] [many :string]) => :string` + - `(join [arg :list] [join-val :string]) => :string` + - `(newline) => :string` - `(split [arg :string] [split-val :string]) => :list` - `(strip [arg :string]) => :string` @@ -82,6 +87,8 @@ ### lists - `(empty? [arg :list]) => :bool` - `(first [arg :list]) => :any ; car` + - `(in? [candidate :literal] [target :list]) => :bool` + - `(last [arg :list]) => :any` - `(list [arg :any] [many :any]) => :list` - `(list-length [arg :list]) => :int` - `(list-reverse [arg :list]) => :int` |
